linux – CMake找不到QtCore
发布时间:2020-08-04 10:33:29 所属栏目:Linux 来源:互联网
导读:我的项目使用cmake试图寻找安装的QT4: root@netqa1:~# which qmake/usr/bin/qmakeroot@netqa1:~# ls -l /usr/lib/i386-linux-gnu/libQtCore.so*lrwxrwxrwx 1 root root 18 Feb 6 2013 /usr/lib/i386-linux-gnu/libQtCo
我的项目使用cmake试图寻找安装的QT4: root@netqa1:~# which qmake /usr/bin/qmake root@netqa1:~# ls -l /usr/lib/i386-linux-gnu/libQtCore.so* lrwxrwxrwx 1 root root 18 Feb 6 2013 /usr/lib/i386-linux-gnu/libQtCore.so -> libQtCore.so.4.8.1 lrwxrwxrwx 1 root root 18 Feb 6 2013 /usr/lib/i386-linux-gnu/libQtCore.so.4 -> libQtCore.so.4.8.1 lrwxrwxrwx 1 root root 18 Feb 6 2013 /usr/lib/i386-linux-gnu/libQtCore.so.4.8 -> libQtCore.so.4.8.1 -rw-r--r-- 1 root root 2998336 Feb 6 2013 /usr/lib/i386-linux-gnu/libQtCore.so.4.8.1 我仍然继续从cmake得到这个错误: Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as /usr/lib/i386-linux-gnu Warning: But QtCore couldn't be found. Qt must NOT be installed correctly,or it wasn't found for cross compiling. 任何指针都会非常有用 解决方法您可能没有安装QT4 dev数据包.在Ubuntu上,这就像libqt4-dev.后缀“dev”代表开发包. (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- linux – iptables | ICMP的类型:哪些(可能)有害?
- linux – 使用rsync通过多级SSH复制文件
- 使用Linux上的C访问Sony Playstation SixAxis Controller
- 将root重定向到rails 4中的命名路由
- linux – 通过Internet挂载文件系统
- C程序从连接到系统的USB设备读取数据
- linux-kernel – do_IRQ中的中断向量和irq映射
- linux – 我可以通过http验证大量文件下载吗?
- linux – 同时运行多个scp线程
- linux – sysfs_create_file()和sysfs_create_group()之间有