我想安装,但是当我运行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
在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
我已经将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
怎样才能纠正这个问题呢?
我正在使用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:
我使用的是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的路径,但是当我试图找出qt的路径时,有不同的路径,我不知道为什么。
ld@ld:/$ which qmake
/usr/bin/qmake
ld@ld:/$ qmake -v
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
在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
当我试图用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
运行cmake CMakeLists.txt后
我收到以下警告
CMake Warning at src/CMakeLists.txt:32 (add_executable):
Cannot generate a safe runtime search path for target MMPEditor because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libQt5Widgets.so.5] in /usr/lib/x86_
我觉得应该有一个简单的方法来做到这一点,但是我的googlefu失败了,所以我很想知道在做qmake时如何切换(甚至永久更改)使用Qt的哪个版本。如果我问哪个版本,我会得到以下内容:
~ $ qmake --version
QMake version 3.0
Using Qt version 5.0.1 in /usr/lib/x86_64-linux-gnu
我已经安装了QtCreator,但我不知道从这里到哪里。
我运行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_
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