QT 5.0.1 QMake没有做任何事情

时间:2013-02-03 19:59:17

标签: qt qmake

我对Qt很新,我想制作一个简单的图像编辑器。 所以我下载了5.0.1并且我在Qt Creator中,据我所知它可以让你设计UI并在编辑器中构建/运行。

我想实际使用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()

2 个答案:

答案 0 :(得分:2)

如果您使用的是与Express不同的Visual Studio版本,则可以安装VS add-in,而无需手动运行 qmake (或创建项目,或创建sln和项目,你仍将使用外部设计师应用程序)

答案 1 :(得分:1)

不要用qmake和其他东西来打扰自己,只有download Visual Studio Add-In让你忘记这些问题。您只需要安装其中一个(取决于您使用的Visual Studio),为您的Qt二进制文件选择路径并享受:)创建新项目后,将设置所有路径,您需要的只是运行选项“构建项目”

相关问题