Russian Qt Forum
Март 29, 2024, 12:45 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1] 2   Вниз
  Печать  
Автор Тема: Настройка конфигурации перед сборкой Qt  (Прочитано 5938 раз)
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« : Сентябрь 16, 2022, 13:04 »

Всем привет.
Пытаюсь разобраться с настройкой конфигурации перед тем как начать сборку Qt. После выполнении команды configure получаю вывод:

Цитировать
...
-- Configuration summary shown below. It has also been written to /home/user/Qt/qt5/config.summary
-- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
 
-- Configure summary:

Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 11.2.0
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Fully optimize release builds (-O3) .... no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Relocatable ............................ yes
  Using precompiled headers .............. yes
  Using Link Time Optimization (LTO/LTCG)  no
  Using Control-flow Enforcement Technology (CET)  yes
  Target compiler supports:
    x86 Intrinsics ....................... Basic VAES AVX512VBMI2
  Sanitizers:
    Addresses ............................ no
    Threads .............................. no
    Memory ............................... no
    Fuzzer (instrumentation only) ........ no
    Undefined ............................ no
  Build parts ............................ libs tools
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... no
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt PrintSupport ........................ yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... no
  Using system zlib ...................... yes
  Zstandard support ...................... no
  Thread support ......................... yes
Common build options:
  Linker can resolve circular dependencies  yes
Qt Core:
  backtrace .............................. yes
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... no
  ICU .................................... yes
  Using system libb2 ..................... no
  Built-in copy of the MIME database ..... yes
  cpp/winrt base ......................... no
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... no
  CLONE_PIDFD support in forkfd .......... yes
Qt Sql:
  SQL item models ........................ yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
  Brotli Decompression Support ........... no
  qTopLevelDomain() ...................... yes
    Built-in publicsuffix database ....... yes
    System publicsuffix database ......... yes
Core tools:
  Android deployment tool ................ yes
  macOS deployment tool .................. no
  Windows deployment tool ................ no
  qmake .................................. yes
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ no
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. no
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  HiRes wheel support in libinput ........ no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. no
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ no
    xcb-sm ............................... no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ yes
  LinuxFB ................................ yes
  VNC .................................... yes
  VK_KHR_display ......................... no
  QNX:
    lgmon ................................ no
    IMF .................................. no
  XCB:
    Using system-provided xcb-xinput ..... no
    GL integrations:
      GLX Plugin ......................... no
        XCB GLX .......................... no
      EGL-X11 Plugin ..................... no
  Windows:
    Direct 2D ............................ no
    Direct 2D 1.1 ........................ no
    DirectWrite .......................... no
    DirectWrite 3 ........................ no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt Testlib:
  Tester for item models ................. yes
  Batch tests ............................ no
Qt PrintSupport:
  CUPS ................................... no
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite ................................. yes
    Using system provided SQLite ......... no
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. no
  WEBP ................................... yes
    Using system libwebp ................. no
Qt QML:
  QML network support .................... yes
  QML debugging and profiling support .... yes
  QML just-in-time compiler .............. yes
  QML XML http request ................... yes
  QML Locale ............................. yes
Qt QML Models:
  QML list model ......................... yes
  QML delegate model ..................... yes
Qt Quick:
  AnimatedImage item ..................... yes
  Canvas item ............................ yes
  Support for Qt Quick Designer .......... yes
  Flipable item .......................... yes
  GridView item .......................... yes
  ListView item .......................... yes
  TableView item ......................... yes
  TreeView item .......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  Repeater item .......................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
Qt Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
  Calendar support ....................... yes
Qt Quick Controls 2:
  Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
Qt Multimedia:
  Spatial Audio .......................... yes
  Spatial Audio (Quick3D) ................ no
  Low level Audio Backend:
    ALSA (experimental) .................. no
    PulseAudio ........................... no
    MMRenderer ........................... no
    CoreAudio ............................ no
    Windows Media SDK .................... no
    Open SLES (Android) .................. no
    Web Assembly ......................... no
  Plugin:
    GStreamer 1.0 ........................ no
    FFmpeg ............................... no
    MMRenderer ........................... no
    AVFoundation ......................... no
    Windows Media Foundation ............. no
  Hardware acceleration and features:
    Video for Linux ...................... yes
    VAAPI support ........................ no
    Linux DMA buffer support ............. yes
    VideoToolbox ......................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Use SSE2 instructions .................. yes
  Use AVX2 instructions .................. no
  Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
Qt 3D APIs:
  Vulkan ................................. no
Qt 3D Renderers:
  OpenGL Renderer ........................ yes
  RHI Renderer ........................... yes
Qt3D Geometry Loaders:
  Autodesk FBX ........................... no
Qt 5 Compatibility Libraries:
  iconv .................................. no
Qt Charts Types:
  Area Chart ............................. yes
  Line Chart ............................. yes
  Spline Chart ........................... yes
  Scatter Chart .......................... yes
  Bar Chart .............................. yes
  Pie Chart .............................. yes
  Boxplot Chart .......................... yes
  Candlestick Chart ...................... yes
Qt Axis Types:
  DateTime Axis .......................... yes
Qt Bluetooth:
  BlueZ .................................. no
  BlueZ Low Energy ....................... no
  Linux Crypto API ....................... no
  WinRT Bluetooth API .................... no
  Qt Tools:
    Qt Assistant ......................... yes
    QDoc ................................. no
    Clang-based lupdate parser ........... no
    Qt Designer .......................... yes
    Qt Distance Field Generator .......... yes
    Qt Linguist .......................... yes
    pixeltool ............................ yes
    qdbus ................................ yes
    Qt Attributions Scanner .............. yes
    qtdiag ............................... yes
    qtplugininfo ......................... yes
  Qt Opcua:
    Open62541 ............................ yes
    Unified Automation C++ SDK ........... no
    Support for namespace 0 NodeId names . yes
    Namespace 0 NodeIds generator ........ no
    Open62541 security support ........... yes
    Support for global discovery server .. yes
  Serial Port:
    ntddmodm ............................. no
  QtQuick3D:
    Assimp ............................... yes
    System Assimp ........................ no
  Qt Remote Objects:
    High Availability Manager (ham) ...... no
  Qt Scxml:
    ECMAScript data model for QtScxml .... yes
  Qt Sensors:
    sensorfw ............................. no
    sensorfw_enabled_with_cmake .......... no
  Qt SerialBus:
    Socket CAN ........................... yes
    Socket CAN FD ........................ yes
    SerialPort Support ................... yes
  Qt TextToSpeech:
    Flite ................................ no
    Flite with ALSA ...................... no
    Speech Dispatcher .................... no
  Qt Virtualkeyboard:
    Desktop integration .................. yes
    Built-in layouts ..................... yes
    Key navigation ....................... no
    Retro style as default ............... no
    Sensitive Debug ...................... no
    Cerence .............................. no
      Static Linking ..................... no
      Handwriting ........................ no
        Alphabetic ....................... no
        CJK .............................. no
      XT9 ................................ no
        XT9 Debug ........................ no
        XT9 9-key layouts ................ no
      Bundle resources ................... no
        Handwriting ...................... no
        XT9 .............................. no
    Hunspell ............................. no
      Using Hunspell copy from 3rdparty/ . no
    OpenWnn .............................. yes
    MyScript ............................. no
    Language support enabled for:
      Arabic ............................. yes
      Bulgarian .......................... yes
      Czech .............................. yes
      Danish ............................. yes
      German ............................. yes
      Greek .............................. yes
      English GB ......................... yes
      English US ......................... yes
      Spanish ............................ yes
      Spanish Mexico ..................... yes
      Estonian ........................... yes
      Farsi .............................. yes
      Finnish ............................ yes
      French Canada ...................... yes
      French France ...................... yes
      Hebrew ............................. yes
      Hindi .............................. yes
      Croatian ........................... yes
      Hungarian .......................... yes
      Indonesian ......................... yes
      Italian ............................ yes
      Japanese ........................... yes
      Korean ............................. yes
      Malay .............................. yes
      Norwegian .......................... yes
      Dutch .............................. yes
      Polish ............................. yes
      Portuguese Brazil .................. yes
      Portuguese Portugal ................ yes
      Romanian ........................... yes
      Russian ............................ yes
      Slovak ............................. yes
      Slovenian .......................... yes
      Albanian ........................... yes
      Serbian ............................ yes
      Swedish ............................ yes
      Thai ............................... yes
      Turkish ............................ yes
      Ukrainian .......................... yes
      Vietnamese ......................... yes
      Simplified Chinese ................. yes
      Traditional Chinese ................ yes
      HongKong Chinese ................... no
    Traditional chinese input methods:
      Zhuyin ............................. yes
      Cangjie ............................ yes
  WebEngine Repository Build Options:
    Build Ninja .......................... no
    Build Gn ............................. yes
    Jumbo Build .......................... yes
    Developer build ...................... no
    Build QtWebEngine Modules:
      Build QtWebEngineCore .............. no
      Build QtWebEngineWidgets ........... no
      Build QtWebEngineQuick ............. no
    Build QtPdf Modules:
      Build QtPdfWidgets ................. no
      Build QtPdfQuick ................... no
    Optional system libraries:
      re2 ................................ no
      icu ................................ no
      libwebp, libwebpmux and libwebpdemux  no
      opus ............................... no
      ffmpeg ............................. no
      libvpx ............................. no
      snappy ............................. no
      glib ............................... no
      zlib ............................... yes
      minizip ............................ no
      libevent ........................... no
      libxml2 and libxslt ................ yes
      lcms2 .............................. no
      png ................................ no
      jpeg ............................... no
      harfbuzz ........................... no
      freetype ........................... no
      libpci ............................. no
 

Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.

WARNING: No backend for low level audio found.
WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
On macOS, you can use Homebrew's llvm package.
You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
WARNING: QtWebEngine won't be built. node.js version 12 or later is required.
WARNING: QtPdf won't be built. node.js version 12 or later is required.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Qt/qt5
Где можно прочитать о том, как изменить настройки опций Build options?
Записан
Johnik
Крякер
****
Offline Offline

Сообщений: 339


Просмотр профиля
« Ответ #1 : Сентябрь 16, 2022, 14:41 »

Код:
configure -platform your_platform -help >help.txt
your_platform - указать нужную
Записан
kambala
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 4724



Просмотр профиля WWW
« Ответ #2 : Сентябрь 16, 2022, 15:49 »

где почитать:
- configure -h
- https://doc.qt.io/qt-5/configure-options.html
Записан

Изучением C++ вымощена дорога в Qt.

UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #3 : Сентябрь 16, 2022, 18:39 »

Пытаюсь выключить компонент accessibility из модуля QtGui
Цитировать
./configure -no-feature-accessibility
Однако, всё равно установлен флаг yes или это делается по другому?
Записан
Johnik
Крякер
****
Offline Offline

Сообщений: 339


Просмотр профиля
« Ответ #4 : Сентябрь 16, 2022, 19:22 »

Попробуйте:
Код:
configure -no-accessibility
Записан
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #5 : Сентябрь 16, 2022, 21:21 »

Всё равно стоит yes. вроде делал и по инструкции, которую дали выше и как вы посоветовали.
Записан
sergek
Гипер активный житель
*****
Offline Offline

Сообщений: 861


Мы должны приносить пользу людям.


Просмотр профиля
« Ответ #6 : Сентябрь 17, 2022, 00:34 »

Изменить опции configure и заново перенастроить конфигурацию не получится. По-моему, для очистки старой конфигурации служит make confclean, но не факт, что сработает.
Проще заново распаковать архив с исходниками и повторить конфигурирование с новыми опциями, так надежнее.
Записан

Qt 5.13.0 Qt Creator 5.0.1
Win10, Ubuntu 20.04
kambala
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 4724



Просмотр профиля WWW
« Ответ #7 : Сентябрь 17, 2022, 00:51 »

а ты случайно не Qt 6 пытаешься собрать?
Проще заново распаковать архив с исходниками и повторить конфигурирование с новыми опциями, так надежнее.
проще конфигурировать в отдельной папке, тогда достаточно просто снести содержимое этой папки, а исходники останутся нетронутыми.
Записан

Изучением C++ вымощена дорога в Qt.

UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #8 : Сентябрь 20, 2022, 23:11 »

Цитировать
а ты случайно не Qt 6 пытаешься собрать?
Нет, скачивал через команду git clone git://code.qt.io/qt/qt5.git со страницы https://wiki.qt.io/Building_Qt_5_from_Git#Getting_the_source_code

Кто знает что означает этот вывод после выполнения ./configure -help:

Цитировать
Configure meta:

  -help, -h ............ Display this help screen
  -redo ................ Re-configure with previously used options.
                         Additional options may be passed, but will not be
                         saved for later use by -redo.

  -feature-<feature> ... Enable <feature>
 -no-feature-<feature>  Disable <feature> [none]
  -list-features ....... List available features. Note that some features
                         have dedicated command line options as well.
Интересует строка: -no-feature-<feature>  Disable <feature> [none]
Такое впечатление, что я не смогу ничего отключить, будто не сработает. Так?
« Последнее редактирование: Сентябрь 20, 2022, 23:25 от sprntl » Записан
Johnik
Крякер
****
Offline Offline

Сообщений: 339


Просмотр профиля
« Ответ #9 : Сентябрь 21, 2022, 13:07 »

Такое впечатление, что я не смогу ничего отключить, будто не сработает. Так?
а список фич получен, ключом -list-features?
Записан
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #10 : Сентябрь 21, 2022, 13:36 »

Такое впечатление, что я не смогу ничего отключить, будто не сработает. Так?
а список фич получен, ключом -list-features?
Да
Записан
kambala
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 4724



Просмотр профиля WWW
« Ответ #11 : Сентябрь 21, 2022, 14:01 »

-no-feature- может отключать то, что выдается в -list-features. но там могут быть зависимости, которые тоже надо явно отключать. можешь покопаться в qtbase/configure.json

-no-accessibility должно работать по идее. можешь попробовать еще подать ключ -verbose, может там подсказки какие-то будут.
Записан

Изучением C++ вымощена дорога в Qt.

UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #12 : Сентябрь 21, 2022, 16:44 »

Цитировать
можешь покопаться в qtbase/configure.json
В qtbase нет такого файла, а в корневом есть, но там немного.
Код:
{
    "commandline": {
        "options": {
            "skip": "addString"
        }
    }
}
Всё, что там есть.
Записан
kambala
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 4724



Просмотр профиля WWW
« Ответ #13 : Сентябрь 21, 2022, 18:50 »

странно, у меня есть, версия 5.15.5. может его ввели только в 5.14/5.15.
Записан

Изучением C++ вымощена дорога в Qt.

UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher
sprntl
Новичок

Offline Offline

Сообщений: 16


Просмотр профиля
« Ответ #14 : Октябрь 14, 2022, 23:16 »

В продолжение темы.
Можно убрать [none] в строке, где описывается как отключить компонент?
Записан
Страниц: [1] 2   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.065 секунд. Запросов: 23.