其他分享
首页 > 其他分享> > QT5 编译选项

QT5 编译选项

作者:互联网

./configure

配置编译通过
../qt-everywhere-src-5.15.0/configure -prefix /usr/local/Qt-mips-5.15.0 -opensource -confirm-license -shared -xplatform mips-mti-linux-gnu-g++ -qt-tiff -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtquick3d -skip qtwebglplugin -skip qtwebengine -skip qtwebchannel -skip qtwayland -skip qtwebview -skip qtwebsockets -skip qtwinextras -skip qtx11extras -skip qtsvg -skip qttools -skip qtxmlpatterns -no-openssl -no-glib -no-opengl -make libs

 

Top-level installation directories:
-prefix <dir> ...... The deployment directory, as seen on the target device.
[/usr/local/Qt-$QT_VERSION; qtbase build directory if
-developer-build]
-extprefix <dir> ... The installation directory, as seen on the host machine.
[SYSROOT/PREFIX] 安装到目标机的目录,如果未设置,以-prefix 为准
-hostprefix [dir] .. The installation directory for build tools running on
the host machine. If [dir] is not given, the current
build directory will be used. [EXTPREFIX]
-external-hostbindir <path> ... Path to Qt tools built for this machine.
Use this when -platform does not match the current
system, i.e., to make a Canadian Cross Build.
Build options:

-opensource .......... Build the Open-Source Edition of Qt
-commercial .......... Build the Commercial Edition of Qt
-confirm-license ..... Automatically acknowledge the license
-release ............. Build Qt with debugging turned off [yes]
-strip ............... Strip release binaries of unneeded symbols [yes]
-shared .............. Build shared Qt libraries [yes] (no for UIKit)
-sse2 ................ Use SSE2 instructions [auto]
-sse3/-ssse3/-sse4.1/-sse4.2/-avx/-avx2/-avx512
Enable use of particular x86 instructions [auto]
Enabled ones are still subject to runtime detection.
Component selection:
-no-dbus ............. Do not build the Qt D-Bus module
[default on Android and Windows]
Core options:
-glib ................ Enable Glib support [no; auto on Unix]
-eventfd ............. Enable eventfd support
-inotify ............. Enable inotify support
-iconv ............... Enable iconv(3) support [posix/sun/gnu/no] (Unix only)
-icu ................. Enable ICU support [auto]
-pcre ................ Select used libpcre2 [system/qt/no]
-pps ................. Enable PPS support [auto] (QNX only)
-zlib ................ Select used zlib [system/qt]

Network options:

-ssl ................. Enable either SSL support method [auto]
-no-openssl .......... Do not use OpenSSL [default on Apple and WinRT]
-openssl-linked ...... Use OpenSSL and link to libssl [no]
-openssl-runtime ..... Use OpenSSL and dynamically load libssl [auto]
-schannel ............ Use Secure Channel [no] (Windows only)
-securetransport ..... Use SecureTransport [auto] (Apple only)

Gui, printing, widget options:
-freetype ............ Select used FreeType [system/qt/no]
-no-opengl ........... Disable OpenGL support
-opengl <api> ........ Enable OpenGL support. Supported APIs:
es2 (default on Windows), desktop (default on Unix),
dynamic (Windows only)
-xcb-xlib............. Enable Xcb-Xlib support [auto]

Platform backends:
-direct2d .......... Enable Direct2D support [auto] (Windows only)
-directfb .......... Enable DirectFB support [no] (Unix only)
-eglfs ............. Enable EGLFS support [auto; no on Android and Windows]
-gbm ............... Enable backends for GBM [auto] (Linux only)
-kms ............... Enable backends for KMS [auto] (Linux only)
-linuxfb ........... Enable Linux Framebuffer support [auto] (Linux only)
-xcb ............... Enable X11 support [auto] (Linux only)

Image formats:
-gif ............... Enable reading support for GIF [auto]
-ico ............... Enable support for ICO [yes]
-libpng ............ Select used libpng [system/qt/no]
-libjpeg ........... Select used libjpeg [system/qt/no]

Database options:

-sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers:
db2 ibase mysql oci odbc psql sqlite2 sqlite tds
[all auto]
-sqlite .............. Select used sqlite3 [system/qt]

Qt3D options:

-assimp .............. Select used assimp library [system/qt/no]
-qt3d-profile-jobs ... Enable jobs profiling [no]
-qt3d-profile-gl ..... Enable OpenGL profiling [no]
-qt3d-simd ........... Select level of SIMD support [no/sse2/avx2]
-qt3d-render ......... Enable the Qt3D Render aspect [yes]
-qt3d-input .......... Enable the Qt3D Input aspect [yes]
-qt3d-logic .......... Enable the Qt3D Logic aspect [yes]
-qt3d-extras ......... Enable the Qt3D Extras aspect [yes]
-qt3d-animation....... Enable the Qt3D Animation aspect [yes]

Further image format options:

-jasper .............. Enable JPEG-2000 support using the JasPer library [no]
-mng ................. Enable MNG support [no]
-tiff ................ Enable TIFF support [system/qt/no]
-webp ................ Enable WEBP support [system/qt/no]

Multimedia options:

-pulseaudio .......... Enable PulseAudio support [auto] (Unix only)
-alsa ................ Enable ALSA support [auto] (Unix only)
-no-gstreamer ........ Disable support for GStreamer
-gstreamer [version] . Enable GStreamer support [auto]
With no parameter, 1.0 is tried first, then 0.10.
-evr ................. Enables EVR in DirectShow and WMF [auto]


Configure meta:

assistant ............... Qt Assistant is a tool for viewing on-line documentation in Qt help file format.
bearermanagement ........ [Networking]: Provides bearer management for the network stack.
build-qtpdf ............. Enables building the Qt PDF rendering module.
build-qtwebengine-core .. Provides WebEngine Core support. 没有这个特色
cborstreamreader ........ Utilities: Provides support for reading the CBOR binary format.
cborstreamwriter ........ Utilities: Provides support for writing the CBOR binary format.
d3d12 ................... Qt Quick: Provides a Direct3D 12 backend for the scenegraph.
【designer】 ................ Qt Designer is the Qt tool for designing and building graphical user interfaces (GUIs) with Qt Widgets. You can compose and customize your windows or dialogs in a what-you-see-is-what-you-get (WYSIWYG) manner, and test them using different styles and resolutions.
desktopservices ......... Utilities: Provides methods for accessing common desktop services.
dnslookup ............... [Networking]: Provides API for DNS lookups.
dtls .................... [Networking]: Provides a DTLS implementation
ftp ..................... [Networking]: Provides support for the File Transfer Protocol in QNetworkAccessManager.
geoservices_esri ........ Location: Provides access to Esri geoservices
geoservices_here ........ Location: Provides access to HERE geoservices
geoservices_itemsoverlay . Location: Provides access to the itemsoverlay maps
geoservices_mapbox ...... Location: Provides access to Mapbox geoservices
geoservices_mapboxgl .... Location: Provides access to the Mapbox vector maps
geoservices_osm ......... Location: Provides access to OpenStreetMap geoservices
gssapi .................. [Networking]: Enable SPNEGO authentication through GSSAPI
http .................... [Networking]: Provides support for the Hypertext Transfer Protocol in QNetworkAccessManager.
iconv ................... Internationalization: Provides internationalization on Unix.
identityproxymodel ...... ItemViews: Supports proxying a source model unmodified.
itemmodeltester ......... Provides a utility to test item models.
kmap2qmap ............... kmap2qmap is a tool to generate keymaps for use on Embedded Linux. The source files have to be in standard Linux kmap format that is e.g. understood by the kernel's loadkeys command.
localserver ............. Networking: Provides a local socket based server.
location-labs-plugin .... Location: Provides experimental QtLocation QML types
macdeployqt ............. The Mac deployment tool automates the process of creating a deployable application bundle that contains the Qt libraries as private frameworks.
modbus-serialport ....... Enables Serial-based Modbus Support
【native-win32-bluetooth】 .. Qt Bluetooth: Uses the native Win32 Bluetooth backend.
netlistmgr .............. [Networking]: Use Network List Manager to keep track of network connectivity
networkdiskcache ........ [Networking]: Provides a disk cache for network resources.
networkinterface ........ [Networking]: Supports enumerating a host's IP addresses and network interfaces.
networkproxy ............ [Networking]: Provides network proxy support.
ocsp .................... [Networking]: Provides OCSP stapling support
qdbus ................... qdbus is a communication interface for Qt-based applications.
qml-animation ........... QML: Provides support for animations and timers in QML.
qml-debug ............... QML: Provides infrastructure and plugins for debugging and profiling.
qml-delegate-model ...... QML: Provides the DelegateModel QML type.
qml-devtools ............ QML: Provides the QmlDevtools library and various utilities.
qml-itemmodel ........... QML: Provides the item model for item views in QML
qml-jit ................. QML: Provides a JIT for QML and JavaScript
qml-list-model .......... QML: Provides the ListModel QML type.
qml-locale .............. QML: Provides support for locales in QML.
qml-network ............. QML: Provides network transparency.
qml-object-model ........ QML: Provides the ObjectModel and Instantiator QML types.
qml-preview ............. QML: Updates QML documents in your application live as you change them on disk
qml-profiler ............ QML: Supports retrieving QML tracing data from an application.
qml-sequence-object ..... QML: Supports mapping sequence types into QML.
qml-table-model ......... QML: Provides the TableModel QML type.
qml-worker-script ....... QML: Enables the use of threads in QML.
qml-xml-http-request .... QML: Provides support for sending XML http requests.
qt3d-animation .......... Aspects: Use the 3D Animation Aspect library
qt3d-extras ............. Aspects: Use the 3D Extra library
qt3d-input .............. Aspects: Use the 3D Input Aspect library
qt3d-logic .............. Aspects: Use the 3D Logic Aspect library
qt3d-opengl-renderer .... Qt 3D Renderers: Use the OpenGL renderer
qt3d-render ............. Aspects: Use the 3D Render Aspect library
qt3d-rhi-renderer ....... Qt 3D Renderers: Use the RHI renderer
qt3d-simd-avx2 .......... Use AVX2 SIMD instructions to accelerate matrix operations
qt3d-simd-sse2 .......... Use SSE2 SIMD instructions to accelerate matrix operations
quick-animatedimage ..... Qt Quick: Provides the AnimatedImage item.
quick-canvas ............ Qt Quick: Provides the Canvas item.
quick-designer .......... Qt Quick: Provides support for the Qt Quick Designer in Qt Creator.
quick-draganddrop ....... Qt Quick: Drag and drop support for Qt Quick
quick-flipable .......... Qt Quick: Provides the Flipable item.
quick-gridview .......... Qt Quick: Provides the GridView item.
quick-listview .......... Qt Quick: Provides the ListView item.
quick-particles ......... Qt Quick: Provides a particle system.
quick-path .............. Qt Quick: Provides Path elements.
quick-pathview .......... Qt Quick: Provides the PathView item.
quick-positioners ....... Qt Quick: Provides Positioner items.
quick-repeater .......... Qt Quick: Provides the Repeater item.
quick-shadereffect ...... Qt Quick: Provides Shader effects.
quick-sprite ............ Qt Quick: Provides the Sprite item.
quick-tableview ......... Qt Quick: Provides the TableView item.
quickcontrols2-fusion ... Quick Controls 2: Provides the platform agnostic desktop-oriented Fusion style.
quickcontrols2-imagine .. Quick Controls 2: Provides a style based on configurable image assets.
quickcontrols2-material . Quick Controls 2: Provides a style based on the Material Design guidelines.
quickcontrols2-universal . Quick Controls 2: Provides a style based on the Universal Design guidelines.
quicktemplates2-hover ... Quick Templates 2: Provides support for hover effects.
quicktemplates2-multitouch . Quick Templates 2: Provides support for multi-touch.
socks5 .................. Networking: Provides SOCKS5 support in QNetworkProxy.
sspi .................... Networking: Enable NTLM/SPNEGO authentication through SSPI
wayland-compositor-quick . Allows QtWayland compositor types to be used with QtQuick 没有这个特色
webengine-developer-build . Enables the developer build configuration. 没有这个特色
webengine-embedded-build . Enables the embedded build configuration. 没有这个特色
webengine-extensions .... WebEngine: Enables Chromium extensions within certain limits. Currently used for enabling the pdf viewer. 没有这个特色
webengine-full-debug-info . Enables debug information for Blink and V8. 没有这个特色
webengine-kerberos ...... WebEngine: Enables Kerberos Authentication Support 没有这个特色
webengine-native-spellchecker . Use the system's native spellchecking engine.
webengine-pepper-plugins . Enables use of Pepper Flash plugins.
webengine-printing-and-pdf . Provides printing and output to PDF.
webengine-proprietary-codecs . Enables the use of proprietary codecs such as h.264/h.265 and MP3.
webengine-qml ........... Provides WebEngine Qml support.
webengine-spellchecker .. Provides a spellchecker.
webengine-webchannel .... WebEngine: Provides QtWebChannel integration.
webengine-webrtc ........ Provides WebRTC support.
webengine-widgets ....... Provides WebEngine Widgets support.

标签:选项,QT5,Qt,no,support,编译,Enable,QML,Provides
来源: https://www.cnblogs.com/life-Meer/p/15671826.html