CONFIG(opengl){message(BuildingwithOpenGL support.)}else{message(OpenGL support is not available.)} 下列选项会定义构建工程的类型,注意,某些选项只有在特定平台才会生效。 qt:工程是一个Qt应用程序,会链接Qt库。可以使用QT变量控制应用程序需要的任何附加Qt模块 thread:工程是一个多线程应用程序 x11:工程是一个...
以mipsel为架构的loongson1B开发板在交叉编译QT4.5以上版本时的配置为: ./configure -prefix /opt/qt4-mipsel -release -shared -fast -pch -no-qt3support -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -no-openssl -no-webkit -nomake examples -nomake demo...
Symbian DEF files ... no STL support ... yes PCH support ... yes MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no SSSE3/SSE4.1/SSE4.2... no/no/no AVX... no iWMMXt support ... no NEON support ... no IPv6 support ... yes IPv6 ifname support ... yes getaddrinfo support ......
而且QT这种引入PCH的方法比MFC的好,由于MFC的PCH选项是每个工程逐个指定的,很容易被某些人搞坏,我曾...
#!/bin/sh ./configure \ -force-pkg-config \ -prefix /opt/QT4.8.6 \ -opensource \ -confirm-license \ -release -shared \ -embedded arm \ -xplatform qws/linux-arm-g++ \ -depths 16,18,24,32 \ -fast \ -optimized-qmake \ -little-endian -host-little-endian \ -pch \ -qt-sql-sql...
-pch \ -qt-sql-sqlite \ -qt-libjpeg \ -qt-zlib \ -qt-libpng \ -qt-freetype \ -little-endian -host-little-endian \ -no-qt3support \ -no-libtiff -no-libmng \ -no-opengl \ -no-mmx -no-sse -no-sse2 \ -no-3dnow \
60)-no-pch 、-pch :禁用/开启是否使用预处理器头文件; 61)-no-dbus、-dbus :禁用/开启对QTdbus模块的编译; 62)-reduce-relocations :减少因为链接优化而导致的而外的库文件重置 63)-no-separate-debug-info :不将调试信息放在一个文件内; 64)-separate-debug-info : 将调试信息放在一个文件内; ...
-pch \ -qt-sql-sqlite \ -qt-libjpeg \ -qt-zlib \ -qt-libpng \ -qt-freetype \ -little-endian -host-little-endian \ -no-qt3support \ -no-libtiff -no-libmng \ -no-opengl \ -no-mmx -no-sse -no-sse2 \ -no-3dnow \
交叉编译qt5.9.8命令:./configure -prefix host -xplatform linux-arm-g++ -recheck-all -opensource -confirm-license -optimized-qmake -release -no-separate-debug-info -strip -shared -static -c++std c++1z -no-sse2 -pch -compile-examples -gui -widgets -no-dbus -no-openssl -no-cups -no-opengl...
-no-pch 不使用预编译的头支持. -pch 使用预编译的头支持. * -no-ltcg 不使用链接时代码生成 -ltcg 使用链接时代码生成. -no-dbus 不要编译Qt D-Bus 模块. + -dbus-linked 编译Qt D-Bus模块并链接到libdbus-1. -dbus-runtime 编译Qt D-Bus模块并动态加载libdbus-1. -reduce-relocations 减少通过额...