我已经将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
怎样才能纠正这个问题呢?
我试图建立和安装流体模拟软件OpenFOAM的来源。第一步是通过在./Allwmake中运行$WM_THIRD_PARTY_DIR来构建所有第三方软件。我这样做,没有错误,并继续构建和安装ParaView通过运行./makeParaView。这将导致以下错误(开始是为您的和我自己的理智而剪裁的):
..。
-- Looking for jbg_newlen
-- Looking for jbg_newlen - not found
-- Protobuf: doing try-compiles for hash map/set headers
-- Protobuf: doing try-co
编辑:好的,所以我不只是做qmake sample.pro,我指定了qmake目录,并做了/Users/***/Qt5.4.1/5.4/clang_64/bin/qmake sample.pro,我认为它有效。但是当我做make的时候,它还是不起作用。
我在OSX上,当我做qmake -v,我得到:
QMake version 2.01a
Using Qt version 4.7.4 in /opt/anaconda1anaconda2anaconda3/lib
这个目录甚至不存在-- seems...and --我在使用QT5.4.1执行which qmake时,得到:
/Users/**
我想安装,但是当我运行bundle install时,我会得到以下错误:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/dineshp/.rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20160814-4696-3d7ixk.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
l
我正在Linux上工作,我已经安装了Qt 2.5.2、Qt库4.7.4和4.4.3,这些都是从源代码中获得的。由于版本之间的不兼容性,我不能直接安装二进制文件。QT4.7.4和QT4.4.3的安装过程都是相同的。我面临的问题是Qt承认QT4.7.4,但没有QT4.4.3,这是错误的。
Qt版本无效:无法确定Qt安装的二进制文件的路径,可能路径是错误的。
每个库都安装在/home/$username/qt/Qt-$version中。当我手动编译一个项目时
cd directory
/home/$username/qt/Qt-4.4.3/qmake $PATHPRO
make
一切都很有魅
我运行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
我想为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_
在Ubuntu和
tux-world@alachiq:~ > sudo apt-get install qt5-qmake build-essential g++ gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
g++ is already the newest version.
g++ set to manu
我使用的是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
我正在使用Qt Creator在Linux KDE neon上开发和运行一个应用程序。
我的应用程序突然拒绝打开一些URL,这是一个以前可以正常工作的功能。我没有改变任何东西,所以我猜是一些KDE霓虹灯更新破坏了它。
当调用该函数时,我得到以下调试输出:
kde-open5: /home/<user>/Qt/5.10.0/gcc_64/lib/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5)
kde-open5:
安装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
在我的Ubuntu16.04上,我安装了一些软件包(通过Synaptic),它们的QT版本为5.5.1。我所拥有的软件(例如TeXstudio)似乎需要它们。
但是作为一名开发人员,我尝试使用QT5.9.1,它是我从Qt网站下载的(比如)。但是当我运行qmake时,它运行的版本是错误的。如何选择要使用的版本?
$ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
但我想要这个:
~/lib/Qt5.9.1/5.9.1/gcc_64/bin/qmake --version
Q
当我试图用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