On 05/01/2011 02:16 PM, Serghei Amelian wrote:
On Sunday 01 May 2011 22:09:42 Serghei Amelian wrote:
[...]
Actually is not correct.
"qapplication.h" should be under
"/opt/qt/include", not deeper. Do not mix qt3 locations with tqt's.
If you really want to mix them, use QT_INCLUDE_DIR for indicate where qt
headers reside (in your case -DQT_INCLUDE_DIR=/opt/qt/include/qt )
How am I mixing them?
I am building Qt3 and tqtinterface the exact same way I always have. I have
no idea how the headers are ending up under:
/opt/qt/include/tqt/Qt/qapplication.h
/opt/qt/include/qt/qapplication.h
I'm just setting $prefix=/opt/qt for the Qt3 install, then the build and
package are putting them there. Can you think of where the locations for these
includes are being set? I'll go back through the Qt3 build, but honestly I
haven't changed where things go.
I've set -DQT_INCLUDE_DIR=/opt/qt/include/qt and it is building now. (It
would have built earlier, but I forgot to delete the out-of-source build dir
before kicking off the build again :p )
I'm building with:
_svntrunk="svn://anonsvn.kde.org/home/kde/branches/trinity/dependencie…
_svnmod=tqtinterface
_qtdir=/opt/qt
_prefix=${_qtdir}
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${_prefix} \
-DQT_INCLUDE_DIR=${_prefix}/include/qt \
-DQT_VERSION=3 || return 1
--
David C. Rankin, J.D.,P.E.