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

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

Страниц: 1 [2] 3 4 ... 9   Вниз
  Печать  
Автор Тема: Статическая сборка Qt 5.4 для Win 7. Сжатие exe до мин. размера с помощью upx  (Прочитано 120771 раз)
8Observer8
Гость
« Ответ #15 : Январь 31, 2014, 07:17 »

Остальные модули так же собираются? К примеру: network, widgets, sql, xml и т.д. Хотя вот opengl я там учёл в сборке, поэтому собирается нормально и запускается на другой машине.

Вот так пойдёт?

Цитировать
configure -static -prefix "C:\Qt\Qt5.2.0_static" -network -sql -widgets -xml -opengl desktop -nomake examples -nomake tests
Записан
8Observer8
Гость
« Ответ #16 : Апрель 18, 2014, 11:10 »

Я хочу собрать Qt статически со всеми модулями. Ввожу такую команду:

Цитировать
configure -static -prefix "C:\Qt\Qt5.2.1_static" -gui -multimedia -multimediawidgets -network -qml -sql -testlib -webkit -widgets -bluetooth -positioning -scripttools -serialport -svg -winextras -x11extras -xml -xmlpatterns -opengl desktop -nomake examples -nomake tests

А мне выдаётся сообщение:
Цитировать
Unknown option -multimedia.

Подскажите, пожалуйста, что не так? Как правильно написать?
Записан
pilot.net
Гость
« Ответ #17 : Май 01, 2014, 07:00 »

Я хочу собрать Qt статически со всеми модулями. Ввожу такую команду:

Цитировать
configure -static -prefix "C:\Qt\Qt5.2.1_static" -gui -multimedia -multimediawidgets -network -qml -sql -testlib -webkit -widgets -bluetooth -positioning -scripttools -serialport -svg -winextras -x11extras -xml -xmlpatterns -opengl desktop -nomake examples -nomake tests

А мне выдаётся сообщение:
Цитировать
Unknown option -multimedia.

Подскажите, пожалуйста, что не так? Как правильно написать?

Кто инструкцию то пишет ? Вот и разберись сам . А то все готовое хотите
Записан
Serr500
Гость
« Ответ #18 : Май 01, 2014, 12:59 »

Код:
configure -platform %PLATFORM_NAME% -help
Записан
Paramon
Гость
« Ответ #19 : Июнь 20, 2014, 20:48 »

А нигде нельзя скачать уже готовое?  Показает язык
Я начал собирать 4.8.6 компилятором 2010 студии. За 3 часа собралось только 5 библиотек. Компьютер не тугодум.
Записан
kambala
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 4727



Просмотр профиля WWW
« Ответ #20 : Июнь 20, 2014, 22:46 »

надо было исключить из сборки ненужные бибилотеки
Записан

Изучением 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
navrocky
Гипер активный житель
*****
Offline Offline

Сообщений: 817


Погроммист


Просмотр профиля
« Ответ #21 : Июнь 20, 2014, 23:27 »

Хочу добавить, что есть в wiki мануал по статической сборке с mingw - http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW

Там есть ссылка на PowerShell-скрипт который сделает всю работу автоматически. У меня он отработал без сбоев.

Единственный минус, нет возможности собрать с поддержкой ANGLE из-за ошибок в configure, которая в упор не видит dx sdk когда компилятор не MSVC.
Записан

Гугль в помощь
Overload
Гость
« Ответ #22 : Август 29, 2014, 23:32 »

может у кого-нибудь получилось в netbeans настроить?
Записан
navrocky
Гипер активный житель
*****
Offline Offline

Сообщений: 817


Погроммист


Просмотр профиля
« Ответ #23 : Август 30, 2014, 15:15 »

может у кого-нибудь получилось в netbeans настроить?

Что настроить?
Записан

Гугль в помощь
Overload
Гость
« Ответ #24 : Август 31, 2014, 12:16 »

что бы без зависимостей, пробовал делать по этой интсрукции что здесь, все получилось, не могу только сам netbeans настроить, где куда там что прописывать, менял путь к qmake от новой сбокри , но этого видимо недостаточно, выдает ошибки
Записан
Overload
Гость
« Ответ #25 : Август 31, 2014, 12:50 »

вот что он мне выдает
Код:
"/C/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE=/C/Qt/Qt5.2.1_static/bin/qmake.exe SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/c/Users/Overload/Documents/NetBeansProjects/test5'
/C/Qt/Qt5.2.1_static/bin/qmake.exe VPATH=. -spec win32-g++ -o qttmp-Debug.mk nbproject/qt-Debug.pro
mv -f qttmp-Debug.mk nbproject/qt-Debug.mk
"/C/msys/1.0/bin/make.exe" -f nbproject/qt-Debug.mk dist/Debug/MinGW-Windows/test5.exe
make.exe[2]: Entering directory `/c/Users/Overload/Documents/NetBeansProjects/test5'
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Inbproject -I'../../../../../Qt/Qt5.2.1_static/include' -I'../../../../../Qt/Qt5.2.1_static/include/QtWidgets' -I'../../../../../Qt/Qt5.2.1_static/include/QtGui' -I'../../../../../Qt/Qt5.2.1_static/include/QtCore' -I'.' -I'.' -I'../../../../../Qt/Qt5.2.1_static/mkspecs/win32-g++' -o build/Debug/MinGW-Windows/PaintImage.o PaintImage.cpp
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Inbproject -I'../../../../../Qt/Qt5.2.1_static/include' -I'../../../../../Qt/Qt5.2.1_static/include/QtWidgets' -I'../../../../../Qt/Qt5.2.1_static/include/QtGui' -I'../../../../../Qt/Qt5.2.1_static/include/QtCore' -I'.' -I'.' -I'../../../../../Qt/Qt5.2.1_static/mkspecs/win32-g++' -o build/Debug/MinGW-Windows/main.o main.cpp
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Inbproject -I'../../../../../Qt/Qt5.2.1_static/include' -I'../../../../../Qt/Qt5.2.1_static/include/QtWidgets' -I'../../../../../Qt/Qt5.2.1_static/include/QtGui' -I'../../../../../Qt/Qt5.2.1_static/include/QtCore' -I'.' -I'.' -I'../../../../../Qt/Qt5.2.1_static/mkspecs/win32-g++' -o build/Debug/MinGW-Windows/test5_plugin_import.o test5_plugin_import.cpp
C:/Qt/Qt5.2.1_static/bin/moc.exe -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -D__GNUC__ -DWIN32 -Inbproject -I'../../../../../Qt/Qt5.2.1_static/include' -I'../../../../../Qt/Qt5.2.1_static/include/QtWidgets' -I'../../../../../Qt/Qt5.2.1_static/include/QtGui' -I'../../../../../Qt/Qt5.2.1_static/include/QtCore' -I'.' -I'.' -I'../../../../../Qt/Qt5.2.1_static/mkspecs/win32-g++' PaintImage.h -o moc_PaintImage.cpp
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Inbproject -I'../../../../../Qt/Qt5.2.1_static/include' -I'../../../../../Qt/Qt5.2.1_static/include/QtWidgets' -I'../../../../../Qt/Qt5.2.1_static/include/QtGui' -I'../../../../../Qt/Qt5.2.1_static/include/QtCore' -I'.' -I'.' -I'../../../../../Qt/Qt5.2.1_static/mkspecs/win32-g++' -o build/Debug/MinGW-Windows/moc_PaintImage.o moc_PaintImage.cpp
windres -i test5_resource.rc -o build/Debug/MinGW-Windows/test5_resource_res.o --include-dir=. -DUNICODE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
g++ -static -static-libgcc -Wl,-subsystem,windows -mthreads -o dist/Debug/MinGW-Windows/test5.exe build/Debug/MinGW-Windows/PaintImage.o build/Debug/MinGW-Windows/main.o build/Debug/MinGW-Windows/test5_plugin_import.o build/Debug/MinGW-Windows/moc_PaintImage.o  -lmingw32 -lqtmaind -LC:/Qt/Qt5.2.1_static/lib -lQt5Widgetsd -LC:/Qt/Qt5.2.1_static/plugins/platforms -lqwindowsd -lwinspool -lshlwapi -lQt5PlatformSupportd -lQt5Guid -lcomdlg32 -loleaut32 -limm32 -lwinmm -lglu32 -lopengl32 -lgdi32 -lQt5Cored -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lz build/Debug/MinGW-Windows/test5_resource_res.o
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN36QWindowsNativeFileDialogEventHandler6createEP28QWindowsNativeFileDialogBase':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:834: undefined reference to `IID_IFileDialogEvents'
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN28QWindowsNativeFileDialogBase9shellItemERK7QString':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:978: undefined reference to `IID_IShellItem'
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN28QWindowsNativeFileDialogBase18libraryItemFoldersEP10IShellItem':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1084: undefined reference to `IID_IShellItemArray'
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN28QWindowsNativeFileDialogBase28libraryItemDefaultSaveFolderEP10IShellItem':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1099: undefined reference to `IID_IShellItem'
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN36QWindowsNativeFileDialogEventHandler14QueryInterfaceERK5_GUIDPPv@12':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:792: undefined reference to `IID_IFileDialogEvents'
C:/Qt/Qt5.2.1_static/plugins/platforms\libqwindowsd.a(qwindowsdialoghelpers.o): In function `ZN28QWindowsNativeFileDialogBase6createEN18QFileDialogOptions10AcceptModeERK28QWindowsFileDialogSharedData':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1509: undefined reference to `IID_IFileOpenDialog'
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1509: undefined reference to `CLSID_FileOpenDialog'
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1515: undefined reference to `IID_IFileSaveDialog'
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\plugins\platforms\windows/qwindowsdialoghelpers.cpp:1515: undefined reference to `CLSID_FileSaveDialog'
C:/Qt/Qt5.2.1_static/lib\libQt5Guid.a(qxpmhandler.o): In function `Z6sscanfPKcS0_z':
c:/qt/qt5.2.1/tools/mingw48_32/i686-w64-mingw32/include/stdio.h:211: undefined reference to `__mingw_vsscanf'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(qdatetime.o): In function `qt_localtime':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/tools/qdatetime.cpp:2380: undefined reference to `pthread_testcancel'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(harfbuzz-shaper-all.o): In function `positionCluster':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:44: undefined reference to `_wassert'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(harfbuzz-shaper-all.o): In function `HB_HeuristicSetGlyphAttributes':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:262: undefined reference to `_wassert'
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:280: undefined reference to `_wassert'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(harfbuzz-shaper-all.o): In function `checkScript':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:598: undefined reference to `_wassert'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(harfbuzz-shaper-all.o): In function `HB_SelectScript':
c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:789: undefined reference to `_wassert'
C:/Qt/Qt5.2.1_static/lib\libQt5Cored.a(harfbuzz-shaper-all.o):c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\src\corelib/../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1098: more undefined references to `_wassert' follow
collect2.exe: error: ld returned 1 exit status
make.exe[2]: *** [dist/Debug/MinGW-Windows/test5.exe] Error 1
make.exe[2]: Leaving directory `/c/Users/Overload/Documents/NetBeansProjects/test5'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/c/Users/Overload/Documents/NetBeansProjects/test5'
make.exe": *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 1m 2s)
Записан
vizir.vs
Гость
« Ответ #26 : Сентябрь 01, 2014, 10:47 »

На сколько я знаю LGPL в случае статической сборки нужно выкладывать объектные файлы приложения. Чтобы пользователь мог сам слинковать приложение с новой версией либы Qt (при коммерческом использовании). Так что не вижу особого смысла делать статическую линковку Qt, кроме как для личного/некоммерческого использования.
« Последнее редактирование: Сентябрь 01, 2014, 10:50 от vizir.vs » Записан
8Observer8
Гость
« Ответ #27 : Сентябрь 29, 2014, 19:01 »

Цитировать
На сколько я знаю LGPL в случае статической сборки нужно выкладывать объектные файлы приложения.
По-моему, только исходники.

Хочу добавить, что есть в wiki мануал по статической сборке с mingw - http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW
Там есть ссылка на PowerShell-скрипт который сделает всю работу автоматически. У меня он отработал без сбоев.
Единственный минус, нет возможности собрать с поддержкой ANGLE из-за ошибок в configure, которая в упор не видит dx sdk когда компилятор не MSVC.
Я не смог поставить PowerShell на Win7:


Мне частично удалось собрать статически. Где можно посмотреть какие модули и как подключать при конфигурировании? Например, я хотел собрать статически приложение с последовательным портом, но выдаётся ошибка:
Код
C++ (Qt)
Project ERROR: Unknown module(s) in QT: serialport
 

Такая команда не даёт всей картины:
Код
C++ (Qt)
configure -platform win32-g++ -? > report.txt
 

Код:
+ cd qtbase
+ C:\Qt\Qt5.3.2\5.3\Src\qtbase\configure.bat -top-level -platform win32-g++ -?
Usage: configure [options]

Installation options:

These are optional, but you may specify install directories.

    -prefix <dir> ...... This will install everything relative to <dir>
                         (default $QT_INSTALL_PREFIX)

    -extprefix <dir> ... When -sysroot is used, install everything to <dir>,
                         rather than into SYSROOT/PREFIX.

    -hostprefix [dir] .. Tools and libraries needed when developing
                         applications are installed in [dir]. If [dir] is not
                         given, the current build directory will be used.
                         (default EXTPREFIX)

You may use these to separate different parts of the install:

    -bindir <dir> ...... User executables will be installed to <dir>
                         (default PREFIX/bin)
    -libdir <dir> ...... Libraries will be installed to <dir>
                         (default PREFIX/lib)
    -headerdir <dir> ... Headers will be installed to <dir>
                         (default PREFIX/include)
    -archdatadir <dir> . Architecture-dependent data used by Qt will be
                         installed to <dir>
                         (default PREFIX)
    -libexecdir <dir> .. Program executables will be installed to <dir>
                         (default ARCHDATADIR/bin)
    -plugindir <dir> ... Plugins will be installed to <dir>
                         (default ARCHDATADIR/plugins)
    -importdir <dir> ... Imports for QML1 will be installed to <dir>
                         (default ARCHDATADIR/imports)
    -qmldir <dir> ...... Imports for QML2 will be installed to <dir>
                         (default ARCHDATADIR/qml)
    -datadir <dir> ..... Data used by Qt programs will be installed to <dir>
                         (default PREFIX)
    -docdir <dir> ...... Documentation will be installed to <dir>
                         (default DATADIR/doc)
    -translationdir <dir> Translations of Qt programs will be installed to
                          <dir>
                          (default DATADIR/translations)
    -examplesdir <dir> . Examples will be installed to <dir>
                         (default PREFIX/examples)
    -testsdir <dir> .... Tests will be installed to <dir>
                         (default PREFIX/tests)

    -hostbindir <dir> .. Host executables will be installed to <dir>
                         (default HOSTPREFIX/bin)
    -hostlibdir <dir> .. Host libraries will be installed to <dir>
                         (default HOSTPREFIX/lib)
    -hostdatadir <dir> . Data used by qmake will be installed to <dir>
                         (default HOSTPREFIX)

Configure options:

 The defaults (*) are usually acceptable. A plus (+) denotes a default value
 that needs to be evaluated. If the evaluation succeeds, the feature is
 included. Here is a short explanation of each option:

    -release ........... Compile and link Qt with debugging turned off.
 *  -debug ............. Compile and link Qt with debugging turned on.
 +  -debug-and-release . Compile and link two Qt libraries, with and without
                         debugging turned on.

    -force-debug-info .. Create symbol files for release builds.
    -separate-debug-info Strip debug information into a separate file.

    -developer-build ... Compile and link Qt with Qt developer options
                         (including auto-tests exporting)

    -opensource ........ Compile and link the Open-Source Edition of Qt.
    -commercial ........ Compile and link the Commercial Edition of Qt.

 +  -c++11 ............. Compile Qt with C++11 support enabled.
    -no-c++11 .......... Do not compile Qt with C++11 support enabled.

 *  -shared ............ Create and use shared Qt libraries.
    -static ............ Create and use static Qt libraries.

    -ltcg .............. Use Link Time Code Generation. (Release builds only)
 *  -no-ltcg ........... Do not use Link Time Code Generation.

    -make <part> ....... Add part to the list of parts to be built at make time
                           libs
                           tools
                           examples
    -nomake <part> ..... Exclude part from the list of parts to be built.

    -skip <module> ..... Exclude an entire module from the build.

    -no-compile-examples Install only the sources of examples.

    -no-widgets ........ Disable Qt Widgets module.

    -no-gui ............ Disable Qt GUI module.

    -no-accessibility .. Disable accessibility support.

     ................... Disabling accessibility is not recommended, as it will
                         break QStyle
                         and may break other internal parts of Qt.
                         With this switch you create a source incompatible
                         version of Qt,
                         which is unsupported.

 *  -accessibility ..... Enable accessibility support.

    -no-sql-<driver> ... Disable SQL <driver> entirely, by default none are
                         turned on.
    -qt-sql-<driver> ... Enable a SQL <driver> in the Qt Library.
    -plugin-sql-<driver> Enable SQL <driver> as a plugin to be linked to at run
                         time.
                         Available values for <driver>:
                           mysql
                           psql
                           oci
                           odbc
                           tds
                           db2
 +                         sqlite
                           sqlite2
                           ibase
                         (drivers marked with a '+' have been detected as
                         available on this system)

    -system-sqlite ..... Use sqlite from the operating system.

    -no-opengl ......... Do not support OpenGL.
    -opengl <api> ...... Enable OpenGL support with specified API version.
                         Available values for <api>:
                           desktop - Enable support for Desktop OpenGL
                           dynamic - Enable support for dynamically loaded
                         OpenGL (either desktop or ES)
 *                         es2 - Enable support for OpenGL ES 2.0

 *  -no-openvg ......... Disables OpenVG functionality.
    -openvg ............ Enables OpenVG functionality.

    -force-asserts ..... Activate asserts in release mode.

    -platform <spec> ... The operating system and compiler you are building on.
                         (default %QMAKESPEC%)

    -xplatform <spec> .. The operating system and compiler you are cross
                         compiling to.

                         See the README file for a list of supported operating
                         systems and compilers.

    -target ............ Set target OS version. Currently the only valid value
                         is 'xp' for targeting Windows XP.
                         MSVC >= 2012 targets Windows Vista by default.

    -sysroot <dir> ..... Sets <dir> as the target compiler's and qmake's
                         sysroot and also sets pkg-config paths.
    -no-gcc-sysroot .... When using -sysroot, it disables the passing of
                         --sysroot to the compiler.

    -qconfig <local> ... Use src/corelib/global/qconfig-<local>.h rather than
                         the
                         default 'full'.

 *  -no-nis ............ Do not compile NIS support.
    -nis ............... Compile NIS support.

 +  -neon .............. Enable the use of NEON instructions.
    -no-neon ........... Do not enable the use of NEON instructions.

    -no-iconv .......... Do not enable support for iconv(3).
 +  -iconv ............. Enable support for iconv(3).
 +  -sun-iconv ......... Enable support for iconv(3) using sun-iconv.
 +  -gnu-iconv ......... Enable support for iconv(3) using gnu-libiconv.

    -no-evdev .......... Do not enable support for evdev.
 +  -evdev ............. Enable support for evdev.
    -no-mtdev .......... Do not enable support for mtdev.
 +  -mtdev ............. Enable support for mtdev.
 +  -inotify ........... Explicitly enable Qt inotify(7) support.
    -no-inotify ........ Explicitly disable Qt inotify(7) support.

 +  -eventfd ........... Enable eventfd(7) support in the UNIX event loop.
    -no-eventfd ........ Disable eventfd(7) support in the UNIX event loop.

 *  -largefile ......... Enables Qt to access files larger than 4 GB.

    -fontconfig ........ Build with FontConfig support.
 *  -no-fontconfig ..... Do not build with FontConfig support.

    -posix-ipc ......... Enable POSIX IPC.

    -glib .............. Compile Glib support.

    -sysconfdir <dir> .. Settings used by Qt programs will be looked for in
                         <dir>.

    -system-proxies .... Use system network proxies by default.
 *  -no-system-proxies . Do not use system network proxies by default.

 +  -warnings-are-errors Make warnings be treated as errors.
    -no-warnings-are-errors Make warnings be treated normally.
    -qtnamespace <name> Wraps all Qt library code in 'namespace name {...}'.
    -qtlibinfix <infix> Renames all Qt* libs to Qt*<infix>.

    -D <define> ........ Add an explicit define to the preprocessor.
    -I <includepath> ... Add an explicit include path.
    -L <librarypath> ... Add an explicit library path.
    -l <libraryname> ... Add an explicit library name, residing in a
                         librarypath.

    -help, -h, -? ...... Display this information.

Third Party Libraries:

    -qt-zlib ........... Use the zlib bundled with Qt.
 +  -system-zlib ....... Use zlib from the operating system.
                         See http://www.gzip.org/zlib

    -qt-pcre ........... Use the PCRE library bundled with Qt.
 +  -system-pcre ....... Use the PCRE library from the operating system.
                         See http://pcre.org/

 +  -icu ............... Use the ICU library.
    -no-icu ............ Do not use the ICU library.
                         See http://site.icu-project.org/

    -no-gif ............ Do not compile GIF reading support.

    -no-libpng ......... Do not compile PNG support.
    -qt-libpng ......... Use the libpng bundled with Qt.
 +  -system-libpng ..... Use libpng from the operating system.
                         See http://www.libpng.org/pub/png

    -no-libjpeg ........ Do not compile JPEG support.
    -qt-libjpeg ........ Use the libjpeg bundled with Qt.
 +  -system-libjpeg .... Use libjpeg from the operating system.
                         See http://www.ijg.org

    -no-freetype ....... Do not compile in Freetype2 support.
 *  -qt-freetype ....... Use the libfreetype bundled with Qt.
    -system-freetype ... Use the libfreetype provided by the system.
 *  -no-harfbuzz ....... Do not compile in HarfBuzz-NG support.
    -qt-harfbuzz ....... (experimental) Use HarfBuzz-NG bundled with Qt
                         to do text shaping. It can still be disabled
                         by setting QT_HARFBUZZ environment variable to "old".
    -system-harfbuzz ... (experimental) Use HarfBuzz-NG from the operating
                         system
                         to do text shaping. It can still be disabled
                         by setting QT_HARFBUZZ environment variable to "old".

 +  -angle ............. Use the ANGLE implementation of OpenGL ES 2.0.
    -angle-d3d11 ....... Use the Direct3D 11-based ANGLE implementation of
                         OpenGL ES 2.0.
    -no-angle .......... Do not use ANGLE.
                         See http://code.google.com/p/angleproject/


Qt for Windows only:

    -no-vcproj ......... Do not generate VC++ .vcproj files.
 *  -vcproj ............ Generate VC++ .vcproj files, only if platform
                         "win32-msvc.net".

    -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to
                         custom build steps.
 +  -incredibuild-xge .. Add IncrediBuild XGE distribution commands to custom
                         build steps. This will distribute MOC and UIC steps,
                         and other custom buildsteps which are added to the
                         INCREDIBUILD_XGE variable.
                         (The IncrediBuild distribution commands are only added
                         to Visual Studio projects)

 *  -no-plugin-manifests Do not embed manifests in plugins.
    -plugin-manifests .. Embed manifests in plugins.

    -no-qmake .......... Do not compile qmake.
 *  -qmake ............. Compile qmake.

 *  -process ........... Generate only top-level Makefile.
    -fully-process ..... Generate Makefiles/Project files for the entire Qt
                         tree.
    -dont-process ...... Do not generate Makefiles/Project files.

    -qreal [double|float] typedef qreal to the specified type. The default is
                          double.
                          Note that changing this flag affects binary
                          compatibility.

    -no-rtti ........... Do not compile runtime type information.
 *  -rtti .............. Compile runtime type information.
    -no-strip .......... Do not strip libraries and executables of debug info
                         when installing.
 *  -strip ............. Strip libraries and executables of debug info when
                         installing.

    -no-sse2 ........... Do not compile with use of SSE2 instructions.
 +  -sse2 .............. Compile with use of SSE2 instructions.
    -no-sse3 ........... Do not compile with use of SSE3 instructions.
 +  -sse3 .............. Compile with use of SSE3 instructions.
    -no-ssse3 .......... Do not compile with use of SSSE3 instructions.
 +  -ssse3 ............. Compile with use of SSSE3 instructions.
    -no-sse4.1 ......... Do not compile with use of SSE4.1 instructions.
 +  -sse4.1 ............ Compile with use of SSE4.1 instructions.
    -no-sse4.2 ......... Do not compile with use of SSE4.2 instructions.
 +  -sse4.2 ............ Compile with use of SSE4.2 instructions.
    -no-avx ............ Do not compile with use of AVX instructions.
 +  -avx ............... Compile with use of AVX instructions.
    -no-avx2 ........... Do not compile with use of AVX2 instructions.
 +  -avx2 .............. Compile with use of AVX2 instructions.

    -no-openssl ........ Do not compile support for OpenSSL.
 +  -openssl ........... Enable run-time OpenSSL support.
    -openssl-linked .... Enable linked OpenSSL support.

    -no-dbus ........... Do not compile in D-Bus support.
 +  -dbus .............. Compile in D-Bus support and load libdbus-1
                         dynamically.
    -dbus-linked ....... Compile in D-Bus support and link to libdbus-1.

    -no-audio-backend .. Do not compile in the platform audio backend into
                         Qt Multimedia.
 +  -audio-backend ..... Compile in the platform audio backend into Qt
                         Multimedia.

    -no-wmf-backend .... Do not compile in the windows media foundation backend
                         into Qt Multimedia.
 +  -wmf-backend ....... Compile in the windows media foundation backend into
                         Qt Multimedia.

    -no-qml-debug ...... Do not build the in-process QML debugging support.
 *  -qml-debug ......... Build the in-process QML debugging support.

 *  -no-directwrite .... Do not build support for DirectWrite font rendering.
    -directwrite ....... Build support for DirectWrite font rendering
                         (experimental, requires DirectWrite availability on
                         target systems, e.g. Windows Vista with Platform
                         Update, Windows 7, etc.)

 *  -no-direct2d ....... Do not build the Direct2D platform plugin.
    -direct2d .......... Build the Direct2D platform plugin (experimental,
                         requires Direct2D availability on target systems,
                         e.g. Windows 7 with Platform Update, Windows 8, etc.)

    -no-style-<style> .. Disable <style> entirely.
    -qt-style-<style> .. Enable <style> in the Qt Library.
                         Available styles:
 *                         windows
 +                         windowsxp
 +                         windowsvista
 *                         fusion
                           windowsce
                           windowsmobile

    -no-native-gestures Do not use native gestures on Windows 7.
 *  -native-gestures ... Use native gestures on Windows 7.

 *  -no-mp ............. Do not use multiple processors for compiling with MSVC
    -mp ................ Use multiple processors for compiling with MSVC (-MP).

    -loadconfig <config> Run configure with the parameters from file configure_
                         <config>.cache.
    -saveconfig <config> Run configure and save the parameters in file
                         configure_<config>.cache.
    -redo .............. Run configure with the same parameters as last time.

Qt for Windows CE only:

    -no-iwmmxt ......... Do not compile with use of IWMMXT instructions.
 +  -iwmmxt ............ Do compile with use of IWMMXT instructions. (Qt for
                         Windows CE on Arm only)

 *  -no-crt ............ Do not add the C runtime to default deployment rules.
    -qt-crt ............ Qt identifies C runtime during project generation.
    -crt <path> ........ Specify path to C runtime used for project generation.

    -no-cetest ......... Do not compile Windows CE remote test application.
 +  -cetest ............ Compile Windows CE remote test application.

    -signature <file> .. Use <file> for signing the target project.
Записан
8Observer8
Гость
« Ответ #28 : Сентябрь 29, 2014, 21:16 »

Как хотя бы этот serialport присобачить?
Записан
8Observer8
Гость
« Ответ #29 : Сентябрь 29, 2014, 21:21 »

Как хотя бы этот serialport присобачить?

Извините, поспешил! Гуглом надо было сначала воспользоваться Улыбающийся
Записан
Страниц: 1 [2] 3 4 ... 9   Вверх
  Печать  
 
Перейти в:  


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