【发布时间】:2014-10-01 19:31:50
【问题描述】:
我正在尝试在 OSX Mavericks 上安装 cutecom,但我遇到了一些错误。 以下是我遵循的步骤。
-
通过brew安装qt
brew安装qt
-
更新 .bashprofile 上的路径
导出 PATH=/usr/local/Cellar/qt/4.8.6/bin:$PATH
提取cutecom的文件
-
编译cutecom源码
$ mkdir 构建
$ cd 构建
$ cmake ..
$ 制作
而make的输出是:
[ 20%] Generating ui_cutecommdlg.h
/Users/kc/Downloads/cutecom-0.22.0/cutecommdlg.ui: Warning: The form file has external pixmaps or qPixmapFromMimeSource() set as a pixmap function. This requires Qt 3 support, which is disabled. The resulting code will not compile.
[ 40%] Generating moc_qcppdialogimpl.cxx Scanning dependencies of target cutecom
[ 60%] Building CXX object CMakeFiles/cutecom.dir/main.cpp.o
In file included from /Users/kc/Downloads/cutecom-0.22.0/main.cpp:21:
In file included from /Users/kc/Downloads/cutecom-0.22.0/qcppdialogimpl.h:22:
/Users/kc/Downloads/cutecom-0.22.0/build/ui_cutecommdlg.h:12:10: fatal error:
'Qt3Support/Q3MimeSourceFactory' file not found
#include <Qt3Support/Q3MimeSourceFactory>
^
1 error generated.
make[2]: *** [CMakeFiles/cutecom.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/cutecom.dir/all] Error 2
make: *** [all] Error 2
有什么建议吗?
非常感谢您的宝贵时间。
科斯塔斯。
【问题讨论】:
标签: macos qt makefile osx-mavericks