On Thursday 10 September 2009 21:44:17 Lorenzo Bettini wrote: > Hi > > I'm experiencing errors when compiling the current git version, in a > separate build directory: I created a build directory, and when running > > ../configure > > I get the following error... is it possible to build qt in a different > directory? Or should I build it in the same directory of the sources?
Yes, shadow build are possible, I do that all the time. The difference is that we usually have the source and the build directory on the same level. (i have ~/qtdev/src/qt-46 and ~/qtdev/build/qt-46 , some others have ~/dev/qt-src-46 and ~/dev/qt-46) Indeed, I get the same error as you if the build directory is inside the source directory. We'll see what we can do. Thanks for reporting. -- Olivier > > g++ -c -o qutfcodec.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators > -Igenerators/unix -Igenerators/win32 -Igenerators/mac > -Igenerators/symbian -I/home/bettini/install/qt/qt-4.6/build/include > -I/home/bettini/install/qt/qt-4.6/build/include/QtCore > -I/home/bettini/install/qt/qt-4.6/build/src/corelib/global > -I/home/bettini/install/qt/qt-4.6/build/src/corelib/xml -DQT_NO_PCRE > -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC > -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS > -I/home/bettini/install/qt/qt-4.6/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP > -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT > /home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp > In file included from > /home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec_p.h:57, > from > /home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp:42: > /home/bettini/install/qt/qt-4.6/build/include/QtCore/private/qtextcodec_p.h > :1:60:> > error: ../../../../../src/corelib/codecs/qtextcodec_p.h: No such file or > directory > In file included from > /home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec.cpp:42: > /home/bettini/install/qt/qt-4.6/src/corelib/codecs/qutfcodec_p.h:70: > error: ‘QTextCodec::ConverterState’ has not been declared > ... > _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
