Ilib -Icrypto -Iplugins/interfaces -Iexport -Iimport -Idialogs -I./build/ui -I./build/moc -I/usr/local/include -o. I/usr/local/include/QtCore -I/usr/local/include/QtCore -I/usr/local/include/QtGui -I/usr/local/include/QtGui -I/usr/local/include/QtXml -I/usr/local/include/QtXml -I/usr/local/include -I/usr/local/include -I. Then the build fails with a lot of errors:Ĭ++ -c -pipe -O2 -fno-strict-aliasing -pipe -w -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. If I try to correct that with this patch: This does not happen with KeePassX 0.3.0. Stop in /usr/ports/security/keepassx/work/KeePassX-0.3.1. Stop in /usr/ports/security/keepassx/work/KeePassX-0.3.1/src.
usr/local/include/QtCore/qnamespace.h:1035: error: expected unqualified-id before numeric constant usr/local/include/QtCore/qnamespace.h:1035: error: expected identifier before numeric constant In file included from /usr/local/include/QtGui/qx11info_x11.h:47,įrom /usr/local/include/QtGui/QX11Info:1, Lib/AutoType.h:37: error: 'QString' has not been declared Lib/AutoType.h:37: error: 'IEntryHandle' has not been declared Lib/AutoType.h:27: error: 'quint32' does not name a type In file included from lib/HelperX11.h:23, build/ui/ui_ManageBookmarksDlg.hĬ++ -c -pipe -O2 -fno-strict-aliasing -pipe -w -DAUTOTYPE -DGLOBAL_AUTOTYPE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. usr/local/bin/uic-qt4 forms/ManageBookmarksDlg.ui -o. Using QT 4.3.4 and gcc 4.2.1 in FreeBSD, the build stops on: