我正在尝试编译,这是的一部分。我将它作为SUBDIRS的一部分包含在subdirs项目中。我通过Qt在qmake上运行了,然后运行了生成的Makefile,并收到了来自moc文件的这个错误:
/the_path/buildlib/moc_qtpropertybrowser.cpp:360: error: member access into incomplete type 'QtAbstractPropertyBrowserPrivate'
case 4: _t->d_func()->slotPropertyInserted((*reinterpre
我使用的是Debian OS,我正在尝试指向cmake where is my Qt4。
我尝试构建qjson库,并使用它的CMakeLists.txt:
我得到了:
Qt5 not found, searching for Qt4
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1386 (message):
Found un
我正在尝试交叉编译Raspberry pi3 B+;扩展软件2018-06-27发行版,使用Qt5.10.1,按照以下步骤通过Linux ubuntu 64位编译:
当然,我注意到了以下步骤:,甚至在另一个时间尝试编辑,使空间也像这个一样。我尝试了不同的手臂pi/pi2/pi3/vc4,甚至不同的Qt版本,虽然我能够和Jessie一起做,但是用拉伸我无法摆脱这个错误;
Configure summary:
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-rasp-p
我尝试使用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
我已经将Qt5从Qt5项目站点安装到以下目录
/opt/Qt5
我还想提到我以前安装了Qt4,我已经通过软件中心删除了Qt4的所有实例。
现在我从命令提示符发出了designer,系统给出了以下错误:
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
怎样才能纠正这个问题呢?
我已经构建了从Ubuntu到Raspbian (Raspberry型号3 B+)的Qt (带有交叉编译器),因此它可以通过ssh部署应用程序。
Qt配置:
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-rasp-pi3-vc4-g++ (arm, CPU features: neon)
Target compiler: gcc 7.5.0
Configuration: cross_compile compile_examples enable_new_dtags l
使用g++编译(来自使用qmake生成的Makefile )
#if !QT_CONFIG(printer)
// do something
#endif
给出两个g++的预处理错误(7.3.0)
test.cpp:25:6: error: division by zero in #if
#if !QT_CONFIG(printer)
和clang (6.00)
test.cpp:25:6: error: division by zero in preprocessor expression
#if !QT_CONFIG(printer)
^~~~~~~~~~~~~~~~~
我想使用名为xlinux-gcc的交叉编译器为arm平台构建qt-4.7.4开源。谁能告诉我要遵循的步骤,以及在linux终端上使用的命令。我使用linux mint - 13作为我的工作站。我从互联网上得到了一些帮助,但由于我是一个初学者,我非常困惑。请帮我建立qt。你也可以告诉我如何在其中添加opengls es2支持。
出于学术原因,我安装了QT-everywhere 5.15开源,但我没有运行一个程序。
首先,我用make编译了必要的源文件并安装了qmake,然后选择了qmake在其中运行程序。当我试图运行一个示例程序时,我遇到了以下错误:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/usr/lib/x86-64-linux-gnu"
This application failed to start because no Qt platform plugin could be initiali