1
我可以構建一個項目並讓它在我的計算機上正常運行,但是當我在不同的計算機上運行它時,它無法工作。我如何使用Qt構建它,以便包含所有文件庫?在Mac OS X上部署應用程序不起作用
我跟着這http://doc.qt.digia.com/4.7/deployment-mac.html 但它似乎並沒有工作。當我運行qmake它只是打印出他們的指示,就像
Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory
我在應用程序的release目錄中運行它。我究竟做錯了什麼?
感謝您的答案。我問道後不久就弄清楚了macdeployqt,但我仍然不明白如何在諾基亞網站上關注mac部署指南。它沒有提到你所說的或關於macdeployqt的任何內容。很混亂...... – user1874900