我對Qt非常陌生,我想製作一個簡單的圖像編輯器。 所以我下載了5.0.1,我在Qt Creator裏面,據我瞭解,它可以讓你設計UI並在編輯器中編譯/運行。QT 5.0.1 QMake不作任何生產
我想實際使用Visual Studio IDE,因爲我很熟悉它,所以我假設我需要在我的Qt項目上運行qmake。它輸出它已正常退出,但我沒有得到任何.sln文件或.proj文件在任何地方,我似乎只在調試文件夾中獲得vc100.pdb文件。
# Add more folders to ship with the application, here
folder_01.source = qml/untitled
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
# Please do not modify the following two lines. Required for deployment.
include(qtquick2applicationviewer/qtquick2applicationviewer.pri)
qtcAddDeployment()
如果我們能看到你的untitled.pro文件,它可能會更容易回答。你能編輯你的問題,並粘貼.pro文件(格式爲代碼),以防它包含任何線索,請?謝謝。 –
根據這個[這個答案](http://stackoverflow.com/a/2454273/104370),如果你添加了'-tp vc'到你的qmake命令行,它會生成.sln和相關文件。但是,如果可以的話,使用Qt Visual Studio插件的答案是更好的主意。 –