全。我刚刚安装了Ubuntu14.04并使用下面的命令安装了QT5.4。(VMware)
$ wget http://download.qt-project.org/development_releases/qt/5.4/5.4.0-rc/qt-opensource-linux-x86-5.4.0-rc.run
$ chmod +x qt-opensource-linux-x86-5.4.0-rc.run
$ ./qt-opensource-linux-x86-5.4.0-rc.run
可以在此步骤中安装QtCreator。
但是,我不能为Qt项目执行*.pro
文件。它的类型是'plain text document (text/plain)'
,由gedit执行。因此,我试图更改执行QtCreator的应用程序--应用程序列表中没有。
我是通过在QtCreator中运行qtcreator文件来执行'/home/XXX/Qt5.4.0/Tools/QtCreator/bin/'
的。此外,当我在Ubuntu中心找到QtCreator时,没有安装QtCreator。
我必须安装QtCreator并再次应用QT5.4工具包吗?或者我可以通过当前的*.pro执行QtCreator吗?
我不是以英语为母语的人,所以我为我糟糕的英语感到抱歉。我用我的语言找不到关于我的问题的任何信息。
我准备了形象来理解我的问题,我不能张贴它,因为我没有10个名誉.抱歉的。
谢谢你,洪肯
发布于 2015-07-09 00:11:32
您不使用*.pro
执行QtCreator文件。*.pro
文件将在控制台ex中使用qmake执行。
$ qmake yourProject.pro
有关更多信息,请参见Qmake教程
如果要使用QtCreator构建项目,则必须:
*.pro
文件。https://stackoverflow.com/questions/31306600
复制