当我试图用Project ERROR: Unknown module(s) in QT: positioning构建依赖于QT5的项目时,出现了错误的qmake,我怀疑以前安装的旧QT4安装中可能会出现问题。
qmake -version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
所以我的问题是:
1.如何解决这一错误?
2.如何完全删除Qt4 (并可能重新安装QT5?)?
更新:
which qmake
/usr/bin/qmake
ls -l /usr/bin/qmake
lrwxrwxrw
我正在尝试在Linux上安装Qt5,但是我得到了这个错误:
[root@localhost Desktop]# ./qt-linux-opensource-1.4.0-x86-online.run
./qt-linux-opensource-1.4.0-x86-online.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./qt-linux-opensource-1.4.0-x86-online.run)
./qt-linux-opensource-1.4.0-x86-onli
我正在尝试编译,这是的一部分。我将它作为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
我在Linux Mint中安装了Qt库和Qt creator,但当我尝试运行设计器时,我得到了以下错误:
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/designer': No such file or directory
我在网上找不到designer版本5,但我可以找到版本4。我担心这个旧版本不能处理所有的Qt5新功能。
Qt designer版本5是否可用于Linux?
我正在尝试从一个arch linux (64位)主机上交叉编译qt 5.7.1 for raspberry pi 3 model B。因此,在这个目的中,我遵循本教程:https://www.raspberrypi.org/forums/viewtopic.php?t=204529#p1269019。但是,当我在"/opt/qt5pi/qt5build/“目录中执行这些命令时: ../qt-everywhere-opensource-src-5.7.1/configure -no-use-gold-linker -opengl es2 -device linux-rpi3-g++ -
Qt到5.13有一个奇怪的bug,所以我尝试将Qt的库版本更改为最新版本(5.15)。我将QT5.15库安装到/home/myaccount/Qt/5.15.0/gcc_64/lib中,并相应地设置了/etc/ld.so.conf.d/Qt.5.15.0.conf。以下是ldd usr/bin/konsole的结果:
/usr/bin/konsole: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /home/myaccount/Qt/5.15.0/gcc_64/lib/l
我想为ARM设备编译一个Qt程序。
我安装了ARM的工具链,下面是我的qmake.conf文件的样子:
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_
我试图从这里运行代码,和我发现自己被这个错误信息困住了:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix
在ubuntu15.10上执行eiskaltdc++时,我得到以下错误:
eiskaltdcpp-qt: /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5: version `Qt_5' not found (required by eiskaltdcpp-qt)
eiskaltdcpp-qt: /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5: version `Qt_5' not found (required by eiskaltdcpp-qt)
eiskaltdcpp-qt: /usr/li
我已经尝试了几种方法,但在尝试为blackfin创建cmake时仍然出现以下错误:
CMake Error at CMakeLists.txt:116 (message):
Fatal error: QT (version >= 4.5.0) required. Cmake tries to detect QT4 by
searching for 'qmake' in your PATH.If you have QT4 installed, make sure
qmake is found in your PATH. If you compiled
我使用的是Ubuntu14.04,我需要让rspec和水豚在QT5上工作。我已经安装了QT5。但是当我运行rspec/feature/ get _test时,会得到这样的警告:
WARNING: The next major version of capybara-webkit will require at least version 5.0 of Qt. You're using version 4.8.6.
但是:
~ % TDIR=/usr/share/qtX qmake --version
QMake version 3.0
Using Qt version 5.2.1 in
我正在使用Yocto在嵌入式板(i.MX6)上执行Qt和i.MX6的第一步。使用提供的示例菜谱,如quicknanobrowser,可以很好地工作在目标上。所以我不能证实声称WebEngine在嵌入式平台上是不可用的。
现在,我想编写自己的QML应用程序,并将其部署到板上。使用菜谱meta-toolchain-qt5,我创建了一个SDK并安装了它。在QtCreator中,我设置了SDK安装的所有路径,并试图构建它,但得到了以下错误:
Project ERROR: Unknown module(s) in QT: webengine
11:13:13: The process "/opt
我想编译,它需要Qt 5.14,我已经从我的Qt存储库安装了QT5.12,我只是从源代码编译了Qt,并将它安装在/usr/local/Qt-6.0.0/(默认位置)中。
但是CMake打印了以下错误,尽管我添加了set(CMAKE_PREFIX_PATH "/usr/local/Qt-6.0.0/include")和/或set(CMAKE_PREFIX_PATH "/usr/local/Qt-6.0.0/"):
The following configuration files were considered but not accepted:
/usr/li
我运行Ubuntu 16.04 LTS。我的问题是我不能运行我可以编译的Qt5应用程序。
这是我尝试运行它时得到的结果:
/home/user/Desktop/sconfig/dist/Release/GNU-Linux/SCongif: /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: version `Qt_5' not found (required by /home/user/Desktop/sconfig/dist/Release/GNU-Linux/SCongif)
/home/user/Desktop/sconfig/dist/Re
我正在尝试编译Linux源代码,但总是找不到qt,下面是一个输出
[root@localhost linux-2.6.32.5]# yum install qt3
Loaded plugins: refresh-packagekit
Setting up Install Process
Package qt3-3.3.8b-25.fc11.i586 already installed and latest version
Nothing to do
[root@localhost linux-2.6.32.5]# make xconfig
CHECK qt
*
* Unable to
我在Linux 19 Tara上运行ownCloud客户机时遇到了问题。不会开始的。如果从命令行运行,它会给出以下错误:
pavel@lenovo ~ $ owncloud
owncloud: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by owncloud)
owncloud: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.10' not found (required by /opt/ow