『壹』 mac os上安裝qt5,我就裝了一個qt creator,請問還需要什麼
到官網下載Qt 5.3.1 for mac (453MB)即可,已經包含了庫和開發工具以及幫助文檔等。難道你下載的是單獨的Qt Creator ? 還有,最好安裝GCC編譯器。
http ://qt-project.org/downloads。點show downloads。
這個也可以,直接下載。
http ://download.qt-project.org/official_releases/qt/5.3/5.3.1/qt-opensource-mac-x64-clang-5.3.1.dmg
『貳』 如何採用QT開發出windows/linux/Mac/Andriod/iOS的程序
qt的代碼本身在windows和linux底下用qtcreator編譯可以跨平台,但要發布的話還要手動的靜態編譯qtcreator源碼,mac,ios開發好像要用mac平台下的軟體,android一般是java,python之類的,qt沒聽說過。qt是c++的超集,加了些qt自己的庫而已。
『叄』 哪位知道 在Mac下怎樣編譯Qt的靜態應用程序
靜態編譯會使程序變大,如果需要大量的qt程序,你可以編譯動態庫的程序,然後將這些程序需要的庫,也移植過去就可以了!這樣會節省很多的空間
『肆』 如何在 ubuntu 下編譯 mac 和 win 環境可執行的 aapt 工具
第一步,你需要下載QT源代碼(4.8的編譯比較容易),然後通過 ./configure (參數自己定,不懂看readme)接下來就是在QT CREATE裡面配置了,如下: 工具-->選項--->構建和運行 1. 編譯器: 點擊添加: "名稱"隨意 "編譯器路徑" **/arm-none-linux-gnueabi-g++ 找到你的編譯器,我這里是用ARM的 其他不填也行. 2.Qt Versions: 點擊添加:找到通過源碼編譯好的qmake文件. 例如:/usr/local/Qt-4.8.6/bin/qmake 3.構建套件: 點擊添加: "名稱"隨意, 重點是 "編譯器"跟"QT版本", 分別選擇剛剛添加的兩項. 調試器:如果是桌面環境那就選桌面的, 如果是在嵌入式中的,那不要也可以.. 如果是交叉編譯,那隻能編譯,不能運行...
『伍』 求助,mac系統下,如何將 QT程序靜態編譯
靜態編譯必須重新編譯整個QT大概需要2個多小時的時間
『陸』 QT中怎麼靜態編譯,靜態編譯的步驟是什麼。
Qt採用編譯的方式安裝的時候,配置中默認的編譯方式是動態編譯的,但是有時候你編寫的程序要發布出去,帶很多動態庫文件是很繁瑣的,此時就需要靜態編譯你的程序,Qt要實現靜態編譯必須庫文件也是靜態編譯的,所以在此介紹一下qt如何來進行靜態編譯第一步:下載源碼包Qt/X11版本:qt-x11-opensource-src-4.5.2.tar.gz第二步:解壓縮tarzxvfqt-x11-opensource-src-4.5.2.tar.gz第三步:進入到剛才解壓縮後的文件夾下並進行配置,如下./configure-release-platformwin32-msvc2008-static-nomakeexamples-nomakedemos-no-qt3support-no-scrip
...
by
fengyetang
2010-07-04
回復
(0)
『柒』 mac 下編譯qt5.4 自帶webview工程失敗,請問下
用Qt5.5.1吧,同時有QtWebkit和QtWebEngine,官方預編譯包還能支持XP系統 Qt5.6後沒有QtWebkit了,官方預編譯包也不支持XP系統,需要支持XP,自己編譯。
『捌』 mac上的qt編程和windows上有什麼區別嗎
要硬說區別還是有的,比如
1.菜單欄,Windows是附在程序窗口裡,Mac是附在顯示屏的頂層位置;
2.Mac中和觸摸板相關的,Windows沒有,如果需要做Mac優化,這塊需要單獨開發;
3.Quick開發的程序,Mac下效果很好,Linux也很好,貌似在我開發過的平台里,就Windows效果不好,動畫跑起來還偏快(也許是我的錯覺?),這個需要注意一下。Widgets的程序無明顯差別;
4.發布程序,修改程序圖標方法不一樣,這個應該不是問題(ps:發布程序Mac下會方便很多很多);
5.widgets+R屏時,繪制圖片等元素時默認不是R屏的,很難看,要設置一下(代碼上,iOS也是這樣)
『玖』 qt-opensource-linux-x64-5.6.3.run有沒有對應的32位版本,官網上沒找到,有什麼辦法可以解決
建議用 5.5.1 ,功能差不了太多,要不就得自己在32位系統下從源碼編譯Qt了。
http://download.qt.io/archive/qt/5.5/5.5.1/
先確認必須在32位系統下使用的必要性。再看看5.6的新功能是否有必須用到的。
New Features in Qt 5.6
New Features
Qt Core
Reced memory usage of dynamic properties
Allow logging directly to syslog on Linux systems
Added QStorageInfo::blockSize()
new QVersionNumber class
Added key_iterator to QHash and QMap
Added const_iterator QByteArray
Added reverse iterator support to all sequential containers
added QDir::listSeparator()
Lots of performance optimisations in QString
Qt Network
Added QHostAddress::isMulticast()
Support HTTP redirection in QNetworkAccessManager
Qt GUI
Improved cross-platform OpenGL ES 3.0 and 3.1 support to help the development of mobile/embedded apps utilizing GLES3 features.
Improved cross-platform high-dpi support.
Raster engine support for rendering internally with 16bits-per-color.
QImageReader now exports gamma values and other meta data for some image formats
Qt Widgets
Allow programmatic resizing of dock widgets
Allow dropping dock widgets into floating docks
Allow the user to re-arrange tabified docks
Allow horizontal scrolling using a mouse wheel in QListView
QOpenGLWidget and QQuickWidget are now supported on WinRT
Qt Testlib
More stable input event handling
Qt Multimedia
New Playlist QML type.
New audio role API for the media player (C++ and QML)
Support for camera focus and video probe on WinRT
New functions in QML AudioEngine to support dynamic object creation
Qt WebEngine
Based on Chromium 45
Support for pepper plugins including Flash
Support for unbundling and linking with system libraries on Linux
Support for following global Qt proxy settings.
More WebActions from QtWebKit and WebAction API in QML.
New QtWebEngineCore mole for shared low-level API
New core API for custom URL schemes
New core API for intercepting and blocking network requests
New core API for tracking or blocking cookies.
Qt QML
Support for writing JavaScript function names to Linux's perf output
Reced overall memory consumption
Moved all the debug services into plugins. Custom debug services can be added width additional plugins.
Font rendering
Optional support for using FreeType on Mac OS X
Embedded platforms
Added support for NVIDIA Jetson TK1 Pro boards running Vibrante Linux via a new eglfs backend utilizing DRM, EGLDevice and EGLStream
Added support for Intel Atom-based NUCs
Desktop platforms
Windows 10 fully supported (classic and WinRT app)
Windows Store apps are now composited inside a XAML layer, allowing for better integration with the native UI layer
Windows embedded
Added support for WEC2013
Qt WebView
Added support for WinRT
Qt Canvas3D
Support for using Qt Quick items as textures
Support for rendering directly to Qt Quick scene background or foreground
Qt Nfc
Added support for Android
Qt Positioning
Added support for OS X
Added support for GPS receivers exposed as a serial port on Windows desktop (all versions)
Removed libgeoclue dependency for the GeoClue backend
Qt Location
Added the Qt Location mole providing maps, navigation and places APIs for Qt Quick
Other Changes
Embedded platforms
libinput, when present, is now the default for eglfs and linuxfb
Image Formats
For security reasons, the MNG and JPEG 2000 handlers will by default no longer be built, unless the corresponding codec libraries are provided by the OS. Hence, the binary Qt releases for Windows and Mac will not contain prebuilt handlers for those formats, but users can still build them from source.
Deprecated Moles
The following moles are part of Qt 5.6 release, but deprecated and considered for removal in subsequent releases of Qt:
Qt Script
Qt Enginio
Removed Moles
With Qt 5.6 the following moles are no longer part of the release packages, but users can still build them from source:
Qt WebKit
Qt Declarative (Qt Quick 1)
『拾』 拿到了一份前輩的QT源碼,打算重新編譯一下,出現如下錯誤信息,有大神知道什麼原因,怎麼破解嗎
估計你不滿足他編譯設置條件,錯誤說/MP應該是一個文件或者目錄,但是並不存在