Cutecom installation not working on OSX Mavericks
I am trying to install cutecom on OSX Mavericks but I am getting some erros. Here are the steps I followed.
-
install qt via brew
brew install qt
-
update path in .bashprofile
export PATH = / usr / local / Cellar / qt / 4.8.6 / bin: $ PATH
-
extract files cutecom
-
compile the source code cutecom
$ mkdir build
$ cd build
$ cmake ..
$ make
And the output of 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
Any suggestions?
Thanks a lot for your time.
Costas.
+3
source to share
1 answer
For the Qt package you are missing Qt3Support ( for purposes ). This component is mandatory for some Qt4 software that still uses legacy Qt3-specific features.
Based on the documentation I was able to find on the internet , you should be able to re-install Qt4 with additional features you need using a command like:
brew install --with-qt3support qt
+4
source to share