I try to build Qcad 2.2.1 pro on Ubuntu 9.04 with Qt4.4.3 built statically. All modules of Qcad were built except qcad. The compilation of qcad module went alright but I got stuck at linking with the error below:
Code: Select all
/home/bilko/workbench/qt-all-opensource-src-4.4.3//lib/libQtGui.a(qapplication_x
11.o): In function `qt_wstate_iconified(unsigned long)':
qapplication_x11.cpp:(.text+0x76b): undefined reference to `XGetWindowProperty'
qapplication_x11.cpp:(.text+0x79c): undefined reference to `XFree'
/home/bilko/workbench/qt-all-opensource-src-4.4.3//lib/libQtGui.a(qapplication_x
11.o): In function `_ZL20qt_check_focus_modelv':
qapplication_x11.cpp:(.text+0x8e4): undefined reference to `XGetInputFocus'
/home/bilko/workbench/qt-all-opensource-src-4.4.3//lib/libQtGui.a(qapplication_x
11.o): In function `_ZL20qt_get_net_supportedv':
qapplication_x11.cpp:(.text+0xa0d): undefined reference to `XGetWindowProperty'
qapplication_x11.cpp:(.text+0xa1e): undefined reference to `XFree'
qapplication_x11.cpp:(.text+0xb0f): undefined reference to `XGetWindowProperty'
qapplication_x11.cpp:(.text+0xb33): undefined reference to `XFree'
and so on
I can also post the whole error report.
Thanks a lot.
Best regards,