Am Freitag, 23. Januar 2015 schrieb Timothy Pearson:
Hi Tim!
Maybe you can help me a little bit, I'm trying to compile tqtinterface.
The buildorder on the homepage refers as tqtinterface beeing the second package to build. However, running "cmake" throws an error: "qapplication.h" is missing. Now the only "qapplication.h" I find is in "main/dependencies/qt3/include/". So, do I have to build qt3 in addition to tqt3 ?
No; CMake goes on to look for the correct file "ntqapplication.h" but can't find it. I don't think tqtinterface knows where your "ntqapplication.h" file is installed; what directory does it end up in on FreeBSD?
Thanks!
Tim
Hi Tim!
"ntqapplication.h" is located at /opt/trinity/include ... but "cmake" defines QT_PREFIX_DIR : /opt/trinity/lib/qt3-3.3.8.d and I have no idea why.
Anyway, adding "-DQT_PREFIX_DIR=/opt/trinity" as the last argument to cmake does the trick: QT_PREFIX_DIR : /opt/trinity
"make" failes, because "cmake" does not add the correct paths to the header files, e.g.: fatal error: 'X11/X.h' file not found
Do you have a hint for me how to add the paths?
Nik