daniel wrote on Aug 19
th, 2011 at 1:38am:
Hello,
Thanks for your message.
I installed Qt 4.5 and am now getting these errors when I build (within the ugene directory, I am using the version of qmake I recently installed, i.e., Qt 4.5).
src/util_msa_align/MSAAlignDialog.cpp: In member function ‘void U2::MSAAlignDialog::addGuiExtension()’:
src/util_msa_align/MSAAlignDialog.cpp:113: error: ‘QMargins’ was not declared in this scope
src/util_msa_align/MSAAlignDialog.cpp:113: error: expected `;' before ‘margins’
src/util_msa_align/MSAAlignDialog.cpp:114: error: ‘margins’ was not declared in this scope
make[2]: *** [_tmp/obj/release/MSAAlignDialog.o] Error 1
This class, QMargins, was introduces in Qt 4.6 only.
Locally we build and test UGENE with Qt4.7
Is there any chance to update your QT version to 4.7 on your platform or install pre-build Qt4.7 to a separate folder?
I see that this question was already solved by other users:
http://joseph.freivald.com/linux/2010/10/04/qt4-4-7-0-and-qt-creator-2-for-cento...The last chance here is to build from sources:
http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.tar.gz but it will take several hours at least and is more complex than UGENE build.