`
l241002209
  • 浏览: 88052 次
文章分类
社区版块
存档分类
最新评论

Qt configure参数说明

阅读更多
前面是*号的表示默认参数. +号表示该功能要求被评估,评估成功后才能被接受.
1. -release ........... 调试关闭.没有调试库,自己的项目只能发布,不能调试(没有调试库的缘故),如果你硬要编译debug版本的话,会提示找不到xxxxxd.dll
2. * -debug ............. 只有调试库,没有释放库,也就是说以后自己的项目只能调试,如果你硬要编译debug版本的话,会提示找不到xxxxx.dll
3. + -debug-and-release . 编译后包含两种库。最好编译两种库
4. -opensource ........ 编译开源版.
5. -commercial ........ 编译商业版. 这两个参数一般不需指定,configure开始需要你选择版本。
6. -developer-build ... 编译开发者选项。
7. * -shared ............动态编译.
8. -static ............ 静态链接库.貌似有插件不能用静态编译。
9. * -no-fast ........... configure生成所有项目makefiles文件,并编译
10. -fast .............. 只生成库目录及子目录下的项目的makefiles文件.
11. -no-exceptions ..... 关闭异常支持
12. * -exceptions ........ 开启异常支持.
13. -no-accessibility .. 关闭对windows active控件支持.
14. * -accessibility .....对windows active控件支持.
15. -no-stl ............ 无c++标准库支持
16. * -stl ............... 有标准库支持
尖括号在blogger出问题了。。。。。
1. -no-sql- ... Disable SQL entirely, by default none are turned on.
2. -qt-sql- ... Enable a SQL in the Qt Library.
3. -plugin-sql- Enable SQL as a plugin to be linked to at runtime.
4. Available values for :
5. mysql
6. psql
7. oci
8. odbc
9. tds
10. db2
11. + sqlite
12. sqlite2
13. ibase
14. (drivers marked with a '+' have been detected as available on this system)
15. -system-sqlite ..... Use sqlite from the operating system.
16. -no-qt3support ..... 不提供对qt3函数支持
17. -no-opengl ......... 不提供OpenGL函数支持
18. -platform ... The operating system and compiler you are building on.
19. (default %QMAKESPEC%)
20. -xplatform .. The operating system and compiler you are cross compiling to.
21. See the README file for a list of supported operating systems and compilers.
22. -qtnamespace Wraps all Qt library code in 'namespace name {...}
23. -D ........ Add an explicit define to the preprocessor.
24. -I ... Add an explicit include path.
25. -L ... Add an explicit library path.
26. -l ... Add an explicit library name, residing in a librarypath.
27. -graphicssystem Specify which graphicssystem should be used.
28. Available values for :
29. * raster - Software rasterizer
30. opengl - Using OpenGL accelleration, experimental!
31. -help, -h, -? ...... Display this information.
第三方库
1. -qt-zlib ........... 使用zlib绑定到qt.
+ -system-zlib ....... 使用操作系统的zlib
见 http://www.gzip.org/zlib
1. -no-gif ............ 不编译gif文件读取支持插件
+ -qt-gif ............ 编译gif文件读取支持插件
参见 src/plugins/imageformats/gif/qgifhandler.h
1. -no-libpng ......... 不编译PNG支持插件.
2. -qt-libpng ......... 编译PNG支持插件.
+ -system-libpng ..... 使用系统libpng库
见http://www.libpng.org/pub/png
1. -no-libmng ......... 不编译MNG支持插件.
2. -qt-libmng ......... 编译MNG支持插件.
+ -system-libmng ..... 使用系统的mng库
参见 http://www.libmng.com
1. -no-libtiff ........ 不编译tiff支持插件.
2. -qt-libtiff ........ 编译tiff支持插件.
+ -system-libtiff .... 使用系统的libtiff库
见http://www.libtiff.org
1. -no-libjpeg ........ 不编译jpeg支持插件库
2. -qt-libjpeg ........ 编译jpeg支持插件库
+ -system-libjpeg .... 使用系统的jpeg支持库
见http://www.ijg.org
以下参数仅对qt for windows有效
1. -no-dsp ............ 不生成 VC++ .dsp 文档.
2. -dsp ...............生成 VC++ .dsp文档, 需要有平台标识符"win32-msvc".注意 qt4开始就不支持vc6.0了所以这两个参数无效。
3. -no-vcproj ......... 不生成 VC++ .vcproj 文档
4. -vcproj ............ 生成 VC++ .vcproj 文档, 需要平台标识符"win32-msvc.net".也就是vs2003以上的编译环境
5. -no-incredibuild-xge Do not add IncrediBuild XGE distribution commands to custom build steps.
6. -incredibuild-xge .. Add IncrediBuild XGE distribution commands to custom build steps.
7. 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 插件不嵌入manifests.
1. * -plugin-manifests .. 插件嵌入manifests.
2. -no-qmake .......... 不编译qmake
3. * -qmake ............. 编译 qmake. 不建议 不编译qmake
4. -dont-process ...... 不生成makefiles和project文档. 比 -no-fast 参数优先级更高
5. * -process ........... 生成makefiles和project文档.
6. -no-rtti ........... 不编译运行时类型信息。
7. * -rtti .............. 编译运行时类型信息。
8. /下面是对指令的支持,不解释了
9. -no-mmx ............ Do not compile with use of MMX instructions
10. + -mmx ............... Compile with use of MMX instructions
11. -no-3dnow .......... Do not compile
with use of 3DNOW instructions
1. + -3dnow ............. Compile with use of 3DNOW instructions
2. -no-sse ............ Do not compile with use of SSE instructions
3. + -sse ............... Compile with use of SSE instructions
4. -no-sse2 ........... Do not compile with use of SSE2 instructions
5. + -sse2 .............. Compile with use of SSE2 instructions
6. + -direct3d .......... 将Direct3D支持编译进来。检测不到direct3d sdk 就不支持
7. -no-openssl ........ Do not compile in OpenSSL support
8. + -openssl ........... Compile in run-time OpenSSL support
9. -openssl-linked .... Compile in linked OpenSSL support
10. -no-dbus ........... Do not compile in D-Bus support
11. + -dbus .............. Compile in D-Bus support and load libdbus-1 dynamically
12. -dbus-linked ....... Compile in D-Bus support and link to libdbus-1
13. -no-phonon ......... 不将 Phonon 模块 编译进来
14. + -phonon ............ 将 Phonon 模块编译进来 (若使用的规范的c++编译器则会自动编译Phonon模块)
15. -no-phonon-backend . Do not compile the platform-specific Phonon backend-plu
gin
1. * -phonon-backend .... Compile in the platform-specific Phonon backend-plugin
2. -no-webkit ......... 不将webkit模块编译进来,编译webkit非常耗时间。
3. + -webkit ............ 将webkit模块编译进来 (若使用的规范的c++编译器则会自动编译WebKit模块)
4. -no-scripttools .... Do not build the QtScriptTools module.
5. * -scripttools ....... Build the QtScriptTools module.
6. -arch ....... 外观样式.
有以下几种 :
1. windows
2. windowsce
3. boundschecker
4. generic

-no-style-尖括号里包含上面的样式。


转自:http://topic.csdn.net/u/20111125/00/df76c86c-26fd-4af5-8bf3-8e64496bab01.html


分享到:
评论

相关推荐

    Qt configure参数解释

    QT configure参数解释 编译Qt源码必备的教程

    Qt5 configure参数说明文档

    Qt5 configure参数说明文档。Qt5源码VS下编译参考:http://blog.csdn.net/phil2036/article/details/20409535

    vlc configure 参数说明

    vlc configure时候的参数说明,可以根据说明修改disable 和enable来开启和停止vlc的功能模块~

    Linux的Configure参数解释

    在linux下安装软件包的时候需要对其进行配置,文档对--prefix --HOST等configure参数进行了剖析,非常useful!

    Linux操作系统的Configure参数解释说明

    本文详细介绍了Linux操作系统的Configure参数。

    qt vs2013 静态编译 配置

    qt vs2013 静态配置参数 configure -confirm-license -opensource -platform win32-msvc2013

    QtEmbedded开发介绍之配置参数

    经常有人会在BBS和QQ群上大喊:怎么裁剪Qt,怎么安装...而如果要裁剪参数,其实可以在configure加上对应的参数来实现,通过合理的选择,完全可以做到满足项目的开发。 本文档详细介绍了QtEmbedded开发介绍之配置参数

    linux编译中configure参数选项详解.pdf

    linux编译中configure参数选项详解.pdf

    Configure选项简介

    'configure'脚本有大量的命令行选项.对不同的软件包来说,这些选项可能会有变化,但是许多基本的选项是不会改变的.带上'--help'选项执行'configure'脚本可以看到可用的所有选项.尽管许多选项是很少用到的,但是当你为了...

    Nginx在configure时的初选参数

    Nginx在configure时的初选参数,请提前建立nginx用户并-s设置/sbin/nologin

    QT6.2.4-webengine自编译,支持mp4等视频播放。这里删除了pdb。

    configure -prefix C:\x64release -release -force-debug-info -platform win32-msvc -opensource -confirm-license -opengl es2 -webengine-proprietary-codecs cmake --build . --parallel cmake --install . ...

    OSG+Qt编译说明

    首先在解压后的OpenSceneGraph-3.4.0文件夹里面新建一个build...build为刚刚新建的文件夹 点击configure,选择vs2013平台,然后3rdparty的路径为你第三方库解压后的路径,在BUILD...WITH_QT和BUILD....APPLICATIONS和

    Qt5 3D官方教程配套示例代码

    ~/depot/qt5/configure -developer-build -opensource -confirm-license -no-webkit -no-phonon -nomake tests \ -nomake examples -declarative -opengl -svg && make -j 4 What's in Qt3D ================== ...

    Configure命令详细解释.doc

    Configure命令详细解释.doc 开发C语言应用程序,是制作自动化安装文件

    QT 5.5.1 VS2015 静态编译 part04

    configure -confirm-license -opensource -platform win32-msvc2015 -debug-and-release -static -prefix "c:\Qt\5.5.1-static-vs2015" -make libs -nomake tests -nomake examples 我的工程用到了这些库 qtpcred....

    configure配置参数[借鉴].pdf

    configure配置参数[借鉴].pdf

    qt6.2.0-win-mingw-x86_64.zip

    包含qtcreator5.0.2、qt6.2.0、tdm64-gcc-10.3.0。从qt6开始,qt官网只提供源码下载,qt6.2.0在Windows10平台自行编译,编译参数configure.bat -prefix C:\Qt\6.2 -opensource -confirm-license。

    build_configure.sh

    交叉编译qt 5.9.9源码,配置的脚本。使用方法 将sh文件拷贝到源码目录,赋予执行权限,然后执行。 路径对应的编译器 需要自己指向路径arm-poky-linux-gnueabi

    qt5.12.1_static_win32_msvc_x86_debug_and_release.7z

    configure.bat -static -prefix "E:\qt" -confirm-license -opensource -debug-and-release -platform win32-msvc -nomake examples -nomake tests -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-...

Global site tag (gtag.js) - Google Analytics