我安装了: Visual 2010。qt-windows-opensource-5.1.0-msvc2010-x86-offline和qt-vs-addin-1.2.2-开源
所有的功能都很好,我能够使用qt创建者创建应用程序并编译和运行它。
但是我从环境变量修改了原始路径:
现在,当尝试使用qt创建者运行应用程序时,我得到了以下错误:
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\C++\Qt\build-tesst-Desk
我正在尝试编译和使用Qt。由于某些原因,我的应用程序必须使用g++版本3.4.3,而不是系统上安装的编译器: g++ 4.1.2。我将环境变量CXX和CC设置为旧的g++来编译Qt,但是当我将我的应用程序链接到旧的g++时,我仍然得到以下错误:
.../qt-4.7.1-lgpl/lib/libQtCore.so: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
.../qt-4.7.1-lgpl/lib/libQtCore.so: undefined reference to `vtable for _
我使用的是ubuntu 14.04,cmake 2.8.12.2,Qt5.6.2 (构建版本),GNU make 3.81
在我使用cmake PathToSource -G "Eclipse CDT4 - Unix Makefiles"运行cmake之后
我做make。我得到了#error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-
我在QT上遇到了一些困难,我在学校的一些GUI应用程序中需要QT。
我最近完成了以下步骤:
1)从安装mingw-get-inst-20120426.exe到C:\MinGW\,默认设置。
2) Qt库4.8.4 for Windows (minGW 4.4,317 MB)从安装到C:\Qt\,默认设置。这里发生了一个错误:
!!!There is a problem with your MinQW instalation
!!!g++ not found in c:\MinGW\bin\
!!!Do you still want to continue? Yes
我检
来自Tools > Options > Build & Run >编译器的屏幕快照
来自工具的屏幕截图>选项>构建和运行> Qt版本
来自工具的屏幕截图>选项>构建和运行>工具包
在我的Windows 7上安装了Qt创建者2.7.0。
构建一个测试Qt项目-使其运行,但遇到以下错误:
:-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
安装了MinGW,并在QT的Tools
我需要在我的项目中使用QFtp类。
当我使用Qt5.0进行开发时,我需要从gitorious存储库下载这个类:
当我尝试编译这个项目时,我遇到了以下错误:
19:45:25: Exécution des étapes pour le projet qtftp...
19:45:25: Configuration inchangée, étape QMake sautée.
19:45:25: Débute : "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe"
cd src\ && ( if not exist M
我尝试使用KDE Neon运行部署脚本。我已经从bash手动启动了脚本,并且没有找到qmake。
当试图直接从bash运行qmake时,我得到以下错误:
$ qmake -v
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
该bin文件夹几乎为空,不包含qmake。在路径/usr/lib/x86_64-linux-gnu/qt5/bin/中,可以找到完整的Qt安装,但也找不到qmake。/usr/bin/qmake显然是一个指向缺少的/usr/l
安装QT平原没有问题,但是当您需要用MySQL驱动程序插件重新编译QT时呢?令人困惑。当我运行配置时,Qt会注册我的MySQL驱动程序,但是当我尝试运行mingw32-make时,这个令人厌恶的东西会出现在我的命令提示符上:
g++.exe: ....corelibcodecsqisciicodec.cpp: No such file or directory
g++.exe: no input files
mingw32-make[2]: *** [tmp/obj/release_shared/qisciicodec.o] Error 1
mingw32-make[2]: Leaving d