FileEngine.cpp.o: undefined reference to QAbstractFileEngine
Closed this issue · 7 comments
Qt 5.15.3
fpc 3.2.2
gcc 11.3.0
Linux Lite 6.0 based on Ubuntu 22.04 LTS
Kernel 5.15.0-67-generic #74-Ubuntu x86_64
kernel cheats ~ hedgewars-cheats make
Consolidate compiler generated dependencies of target physlayer
[ 1%] Built target physlayer
[ 2%] Built target hwengine
Consolidate compiler generated dependencies of target hedgewars
[ 2%] Linking CXX executable ../bin/hedgewars
/usr/bin/ld: CMakeFiles/hedgewars.dir/util/FileEngine.cpp.o:(.data.rel.ro._ZTV10FileEngine[_ZTV10FileEngine]+0x20): undefined reference to `QAbstractFileEngine::open(QFlags<QIODevice::OpenModeFlag>, std::optional<QFlags<QFileDevice::Permission> >)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/util/FileEngine.cpp.o:(.data.rel.ro._ZTV10FileEngine[_ZTV10FileEngine]+0x88): undefined reference to `QAbstractFileEngine::mkdir(QString const&, bool, std::optional<QFlags<QFileDevice::Permission> >) const'
collect2: error: ld returned 1 exit status
make[2]: *** [QTfrontend/CMakeFiles/hedgewars.dir/build.make:3745: bin/hedgewars] Error 1
make[1]: *** [CMakeFiles/Makefile2:2649: QTfrontend/CMakeFiles/hedgewars.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Full build log: https://pastebin.mozilla.org/iEeGzHdS
I cannot reproduce it here. I have qt-5.15.8.
Does compiling the vanilla hedgewars work for you?
Yes compiling vanilla hedgewars worked.
I've skimmed through a diff of the current mercurial tip and my cheats branch, and am clueless on why would it be problematic for you.
Anyways, my changes only involve the hwengine
binary, and you can use the rest from vanilla.
Well, compiling 1.1.0-dev-r15945 (343b8819b051) works.
But compiling vanilla 1.0.0 or your cheats branch throws a You can't use both options (-gh) (-gv) at same time error, which I had to manually edit the flags.make file for hwengine to get past despite the warning not to.
Running a vanilla 1.0.0 compile now, to see if I get the same error with FileEngine.cpp.o or not.
Compiling vanilla 1.0.0 results in this long error:
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageadmin.cpp.o: in function `PageAdmin::bodyLayoutDefinition()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageadmin.cpp:82: undefined reference to `HWChatWidget::styleSheet()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pagenetgame.cpp.o: in function `PageNetGame::bodyLayoutDefinition()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:103: undefined reference to `HWChatWidget::HWChatWidget(QWidget*, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:104: undefined reference to `HWChatWidget::setShowFollow(bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:105: undefined reference to `HWChatWidget::setIgnoreListKick(bool)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pagenetgame.cpp.o: in function `PageNetGame::displayError(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:207: undefined reference to `HWChatWidget::displayError(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pagenetgame.cpp.o: in function `PageNetGame::displayNotice(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:213: undefined reference to `HWChatWidget::displayNotice(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pagenetgame.cpp.o: in function `PageNetGame::displayWarning(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:218: undefined reference to `HWChatWidget::displayWarning(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pagenetgame.cpp.o: in function `PageNetGame::setUser(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pagenetgame.cpp:288: undefined reference to `HWChatWidget::setUser(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageroomslist.cpp.o: in function `PageRoomsList::bodyLayoutDefinition()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageroomslist.cpp:169: undefined reference to `HWChatWidget::HWChatWidget(QWidget*, bool)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageroomslist.cpp.o: in function `PageRoomsList::displayError(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageroomslist.cpp:242: undefined reference to `HWChatWidget::displayError(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageroomslist.cpp.o: in function `PageRoomsList::displayNotice(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageroomslist.cpp:248: undefined reference to `HWChatWidget::displayNotice(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageroomslist.cpp.o: in function `PageRoomsList::displayWarning(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageroomslist.cpp:253: undefined reference to `HWChatWidget::displayWarning(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/page/pageroomslist.cpp.o: in function `PageRoomsList::setUser(QString const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/page/pageroomslist.cpp:551: undefined reference to `HWChatWidget::setUser(QString const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_chatwidget.cpp.o: in function `HWChatWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:187: undefined reference to `HWChatWidget::onChatAction(QString const&, QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:188: undefined reference to `HWChatWidget::onChatMessage(QString const&, QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:189: undefined reference to `HWChatWidget::onServerMessage(QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:190: undefined reference to `HWChatWidget::nickAdded(QString const&, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:191: undefined reference to `HWChatWidget::nickRemoved(QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:192: undefined reference to `HWChatWidget::nickRemoved(QString const&, QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:193: undefined reference to `HWChatWidget::clear()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:194: undefined reference to `HWChatWidget::adminAccess(bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:195: undefined reference to `HWChatWidget::onPlayerInfo(QString const&, QString const&, QString const&, QString const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:196: undefined reference to `HWChatWidget::returnPressed()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:197: undefined reference to `HWChatWidget::onBan()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:198: undefined reference to `HWChatWidget::onKick()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:199: undefined reference to `HWChatWidget::onDelegate()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:200: undefined reference to `HWChatWidget::onInfo()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:201: undefined reference to `HWChatWidget::onFollow()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:202: undefined reference to `HWChatWidget::onIgnore()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:203: undefined reference to `HWChatWidget::onFriend()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:204: undefined reference to `HWChatWidget::chatNickDoubleClicked(QModelIndex const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:205: undefined reference to `HWChatWidget::linkClicked(QUrl const&)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_chatwidget.cpp:206: undefined reference to `HWChatWidget::nicksContextMenuRequested(QPoint const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_chatwidget.cpp.o:(.data.rel.ro._ZTV12HWChatWidget[_ZTV12HWChatWidget]+0x110): undefined reference to `HWChatWidget::resizeEvent(QResizeEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_chatwidget.cpp.o:(.data.rel.ro._ZTV12HWChatWidget[_ZTV12HWChatWidget]+0x138): undefined reference to `HWChatWidget::dragEnterEvent(QDragEnterEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_chatwidget.cpp.o:(.data.rel.ro._ZTV12HWChatWidget[_ZTV12HWChatWidget]+0x150): undefined reference to `HWChatWidget::dropEvent(QDropEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_chatwidget.cpp.o:(.data.rel.ro._ZTV12HWChatWidget[_ZTV12HWChatWidget]+0x158): undefined reference to `HWChatWidget::showEvent(QShowEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o: in function `ColorWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_colorwidget.cpp:86: undefined reference to `ColorWidget::dataChanged(QModelIndex const&, QModelIndex const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0x28): undefined reference to `ColorWidget::~ColorWidget()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0x30): undefined reference to `ColorWidget::~ColorWidget()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0xa8): undefined reference to `ColorWidget::mousePressEvent(QMouseEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0xc8): undefined reference to `ColorWidget::wheelEvent(QWheelEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0x1c0): undefined reference to `non-virtual thunk to ColorWidget::~ColorWidget()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_colorwidget.cpp.o:(.data.rel.ro._ZTV11ColorWidget[_ZTV11ColorWidget]+0x1c8): undefined reference to `non-virtual thunk to ColorWidget::~ColorWidget()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_feedbackdialog.cpp.o: in function `FeedbackDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_feedbackdialog.cpp:87: undefined reference to `FeedbackDialog::SendFeedback()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_feedbackdialog.cpp:88: undefined reference to `FeedbackDialog::finishedSlot(QNetworkReply*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_feedbackdialog.cpp.o:(.data.rel.ro._ZTV14FeedbackDialog[_ZTV14FeedbackDialog]+0x1d8): undefined reference to `FeedbackDialog::NetReply(QNetworkReply*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_feedbackdialog.cpp.o:(.data.rel.ro._ZTV14FeedbackDialog[_ZTV14FeedbackDialog]+0x1e0): undefined reference to `FeedbackDialog::ShowSpecs()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_frameTeam.cpp.o: in function `FrameTeams::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_frameTeam.cpp:87: undefined reference to `FrameTeams::addTeam(HWTeam, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/moc_frameTeam.cpp:88: undefined reference to `FrameTeams::removeTeam(HWTeam)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_frameTeam.cpp.o:(.data.rel.ro._ZTV10FrameTeams[_ZTV10FrameTeams]+0x80): undefined reference to `FrameTeams::sizeHint() const'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/moc_frameTeam.cpp.o:(.data.rel.ro._ZTV10FrameTeams[_ZTV10FrameTeams]+0x110): undefined reference to `FrameTeams::resizeEvent(QResizeEvent*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::addTeam(HWTeam)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:37: undefined reference to `FrameTeams::addTeam(HWTeam, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:39: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:42: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:44: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:55: undefined reference to `FrameTeams::addTeam(HWTeam, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:59: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:64: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::setInteractivity(bool)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:74: undefined reference to `FrameTeams::setInteractivity(bool)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::changeHHNum(HWTeam const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:116: undefined reference to `FrameTeams::setHHNum(HWTeam const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::changeTeamColor(HWTeam const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:129: undefined reference to `FrameTeams::setTeamColor(HWTeam const&)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::removeNetTeam(HWTeam const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:144: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:145: undefined reference to `FrameTeams::removeTeam(HWTeam)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::cleanupFakeNetTeams()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:175: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:176: undefined reference to `FrameTeams::removeTeam(HWTeam)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::changeTeamStatus(HWTeam)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:214: undefined reference to `FrameTeams::isFullTeams() const'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:216: undefined reference to `FrameTeams::getNextColor()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:243: undefined reference to `FrameTeams::addTeam(HWTeam, bool)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:244: undefined reference to `FrameTeams::removeTeam(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:247: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:252: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:257: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:260: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:262: undefined reference to `FrameTeams::getTeamWidget(HWTeam)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o:/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:264: more undefined references to `FrameTeams::getTeamWidget(HWTeam)' follow
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::addScrArea(FrameTeams*, QColor, int, int, bool)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:290: undefined reference to `FrameTeams::setDecoFrameEnabled(bool)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::TeamSelWidget(QWidget*)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:297: undefined reference to `FrameTeams::FrameTeams(QWidget*)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:298: undefined reference to `FrameTeams::FrameTeams(QWidget*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselect.cpp.o: in function `TeamSelWidget::resetPlayingTeams(QList<HWTeam> const&)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:324: undefined reference to `FrameTeams::resetTeams()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:325: undefined reference to `FrameTeams::resetColors()'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselect.cpp:330: undefined reference to `FrameTeams::resetTeams()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselhelper.cpp.o: in function `TeamShowWidget::TeamShowWidget(HWTeam const&, bool, FrameTeams*)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselhelper.cpp:64: undefined reference to `ColorWidget::ColorWidget(QStandardItemModel*, QWidget*)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselhelper.cpp:69: undefined reference to `ColorWidget::setColor(int)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/ui/widget/teamselhelper.cpp.o: in function `TeamShowWidget::changeTeamColor(int)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/ui/widget/teamselhelper.cpp:125: undefined reference to `ColorWidget::setColor(int)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/hwform.cpp.o: in function `HWForm::HWForm(QWidget*, QString)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:188: undefined reference to `HWChatWidget::setSettings(QSettings*)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:189: undefined reference to `HWChatWidget::setSettings(QSettings*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/hwform.cpp.o: in function `HWForm::_NetConnect(QString const&, unsigned short, bool, QString)':
/home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:1402: undefined reference to `HWChatWidget::setUsersModel(QAbstractItemModel*)'
/usr/bin/ld: /home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:1403: undefined reference to `HWChatWidget::setUsersModel(QAbstractItemModel*)'
/usr/bin/ld: CMakeFiles/hedgewars.dir/hwform.cpp.o: in function `HWForm::NetGameEnter()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:1765: undefined reference to `HWChatWidget::clear()'
/usr/bin/ld: CMakeFiles/hedgewars.dir/hwform.cpp.o: in function `HWForm::showFeedbackDialogNetChecked()':
/home/kernel/hg/hedgewars/trunk/QTfrontend/hwform.cpp:2487: undefined reference to `FeedbackDialog::FeedbackDialog(QWidget*)'
collect2: error: ld returned 1 exit status
make[2]: *** [QTfrontend/CMakeFiles/hedgewars.dir/build.make:3745: bin/hedgewars] Error 1
make[1]: *** [CMakeFiles/Makefile2:2649: QTfrontend/CMakeFiles/hedgewars.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
I compiled 1.0.0 from vanilla, and overwrote the hwengine binary with the one compiled from your cheats branch. Problem solved.