lau*_*ent 18 qt build qt-creator
我正在尝试使用以下命令在Windows上构建Qt:
configure -static -opensource -no-webkit -no-qt3support -no-audio-backend -no-exceptions -no-opengl -no-phonon -phonon-backend
我收到此错误:
Unable to detect the platform from environment. Use -platform command lineargument
但是我不知道"-platform"参数的不同可能值是什么.我试过"win32"和"windows",但没有一个是正确的.我找不到任何列出可能值的引用.有人知道我需要为Windows 7(用Qt Creator开发)吗?
Joh*_*nny 20
mkspecs在qt目录中打开文件夹.在那里你可以看到多个文件夹.此文件夹的名称是-platformswitch的值.
例如,您可以使用win32-msvc.msvc意味着使用MS visual studio编译器来建立qt.
| 归档时间: |
|
| 查看次数: |
9297 次 |
| 最近记录: |