[Debian-med-packaging] C++ / Qt help for Ugene needed

Andreas Tille andreas at an3as.eu
Wed Dec 9 16:39:36 UTC 2015


Hi folks,

I tried to upgrade ugene to the new upstream package.  When doing so I
moved the packaging to Git[1].  Unfortunately I'm running into a build
error:


...
g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -Wall -W -fPIC -DQT_WEBKIT -DU2_DISTRIBUTION_INFO=sources -DUGENE_VERSION=1.19.0 -        DUGENE_MIN_VERSION_SQLITE=1.13.0 -DUGENE_MIN_VERSION_MYSQL=1.16.0 -DUGENE_VER_MAJOR=1 -DUGENE_VER_MINOR=19 -DUGENE_VER_PATCH=0 -DUGENE_X86 -DUGENE_DATA_DIR=\"/usr/share/ugene/data\" -DQT_DLL -DNDEBUG -         DQT_FATAL_ASSERT -DBUILDING_U2GUI_DLL -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/  usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Isrc -    I_tmp -I../../include -I../U2Private/src -I_tmp/moc/release -I_tmp/ui -o _tmp/obj/release/CreateDocumentFromTextDialogController.o src/util/CreateDocumentFromTextDialogController.cpp
src/util/CreateDocumentFromTextDialogController.cpp: In member function ‘virtual void U2::CreateDocumentFromTextDialogController::accept()’:
src/util/CreateDocumentFromTextDialogController.cpp:110:95: error: ‘class QComboBox’ has no member named ‘currentData’
     Task *task = new CreateSequenceFromTextAndOpenViewTask(prepareSequences(), ui->formatBox->currentData().toString(), url);
                                                                                               ^
Makefile.Release:1252: recipe for target '_tmp/obj/release/CreateDocumentFromTextDialogController.o' failed
make[3]: *** [_tmp/obj/release/CreateDocumentFromTextDialogController.o] Error 1
make[3]: Leaving directory '/home/tillea/debian-maintain/alioth/debian-med_git/build-area/ugene-1.19.0+dfsg/src/corelibs/U2Gui'


I'm afraid this is connected to some Qt migration issue but I'm totally
uneducated about Qt and C++ so any help would be welcome.

Kind regards

       Andreas.


[1] git://anonscm.debian.org/debian-med/ugene.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list