[Debian-med-packaging] Bug#874880: [freemedforms-project] Future Qt4 removal from Buster

Andreas Tille andreas at an3as.eu
Fri Sep 6 10:41:33 BST 2019


Hi,

thanks to a patch by Michael Crusoe I'm a bit further now but there are
remaining errors.  I have no idea about C++/Qt and thus need to ask for
help.  Eric, are you up to safe your package inside Debian?

...
g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/freemedforms-project-1.0.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -fPIC -DFREEMEDFORMS -   DDRUGS_DATABASE_VERSION=0x000804 -DWITH_EPISODE_REMOVAL -DWITH_CHEQUE_PRINTING -DWITH_FRENCH_FSP -DWITH_FRENCH_HPRIM_INTEGRATOR -DFULLAPPLICATION_BUILD -DBINARY_NAME="\"DataPackUtils\"" -                         DBUILD_PATH_POSTFIXE="\"FreeMedForms\"" -DPACKAGE_VERSION="\"1.0.0\"" -DSOURCES_ROOT_PATH="\"/build/freemedforms-project-1.0.0\"" -DLINUX_INTEGRATED -DLINUX_QT_PATH="\"/usr/lib/x86_64-linux-gnu\"" -              DLINUX_QT_PLUGINS_PATH="\"/usr/lib/x86_64-linux-gnu/qt5/plugins\"" -DLIBRARY_BASENAME="\"lib/x86_64-linux-gnu\"" -DLINUX_PLUGIN_PATH="\"/usr//lib/x86_64-linux-gnu/DataPackUtils\"" -DGIT_REVISION_HASH="\"DEBR1.0. 0-1\"" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DRELEASE -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DDATAPACKUTILS_LIBRARY -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -   DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/build/freemedforms-project-1.0.0/plugins -I/build/freemedforms-project-1.0.0/libs -I/build/        freemedforms-project-1.0.0/contrib -I/build/freemedforms-project-1.0.0/contrib/quazip -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-     linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/   x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I/build/freemedforms-project-1. 0.0/build/Qt5_linux-gpp/FreeMedForms/DataPackUtils/.moc -isystem /usr/include/libdrm -I/build/freemedforms-project-1.0.0/build/Qt5_linux-gpp/FreeMedForms/.ui -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o /build/freemedforms-project-1.0.0/build/Qt5_linux-gpp/FreeMedForms/DataPackUtils/.obj/unix/packservercreator.o servercreation/packservercreator.cpp
servercreation/servercreationwidget.cpp: In member function 'void DataPack::Internal::ServerCreationWidgetPrivate::createActions()':
servercreation/servercreationwidget.cpp:97:39: error: invalid use of incomplete type 'class QAction'
   97 |         aGroupByServer = new QAction(q);
      |                                       ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from servercreation/servercreationwidget.h:18,
                 from servercreation/servercreationwidget.cpp:28:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
   68 | class QAction;
      |       ^~~~~~~
servercreation/servercreationwidget.cpp:98:38: error: invalid use of incomplete type 'class QAction'
   98 |         aGroupByQueue = new QAction(q);
      |                                      ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from servercreation/servercreationwidget.h:18,
                 from servercreation/servercreationwidget.cpp:28:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
   68 | class QAction;
      |       ^~~~~~~
servercreation/servercreationwidget.cpp: In member function 'void DataPack::ServerCreationWidget::retranslate()':
servercreation/servercreationwidget.cpp:258:22: error: invalid use of incomplete type 'class QAction'
  258 |     d->aGroupByServer->setText(tr("Group by server"));
      |                      ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from servercreation/servercreationwidget.h:18,
                 from servercreation/servercreationwidget.cpp:28:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
   68 | class QAction;
      |       ^~~~~~~
servercreation/servercreationwidget.cpp:259:21: error: invalid use of incomplete type 'class QAction'
  259 |     d->aGroupByQueue->setText(tr("Group by queue"));
      |                     ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from servercreation/servercreationwidget.h:18,
                 from servercreation/servercreationwidget.cpp:28:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
   68 | class QAction;
      |       ^~~~~~~


Kind regards

       Andreas.


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list