Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
building MoM tweaker on linux 64-bit, QT 4.8.5

After the success of building/ running the MoM customizer (see setup customization tool thread, page 5)
, i looked into building the tweaker also.

snapshot : momrtgt-code-b882e0fe8945b63fd60d300fe642152601e8f4c7.zip

extract file to ~/Temp/momrtgt-code-b882e0fe8945b63fd60d300fe642152601e8f4c7


Code:
$ cd ~/Temp/momrtgt-code-b882e0fe8945b63fd60d300fe642152601e8f4c7/Applications/MoMTweaker
$ qmake-qt4
$ make all

< left out , see link below for full output >

In file included from ../../QMoMDialogs/dialogaddunit.cpp:11:0:
../../QMoMDialogs/dialogaddunit.h: In instantiation of ‘void MoM::DialogAddUnit::displaySpecial(QPointF&, Enum, int) [with Enum = MoM::eBuilding]’:
../../QMoMDialogs/dialogaddunit.cpp:252:48:   required from here
../../QMoMDialogs/dialogaddunit.h:67:49: error: ‘prettyQStr’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         QString specialName = prettyQStr(special);
                                                 ^
In file included from ../../QMoMCommon/QMoMTreeItemModel.h:19:0,
                 from ../../QMoMCommon/unitmodel.h:19,
                 from ./mainwindow.h:20,
                 from ../../QMoMDialogs/dialogaddunit.cpp:22:
../../QMoMCommon/QMoMUtility.h:113:16: note: ‘template<class T> QString prettyQStr(const T&)’ declared here, later in the translation unit
inline QString prettyQStr(const T& t)
                ^
In file included from ../../QMoMDialogs/dialogaddunit.cpp:11:0:
../../QMoMDialogs/dialogaddunit.h: In instantiation of ‘void MoM::DialogAddUnit::displaySpecial(QPointF&, Enum, int) [with Enum = MoM::eSpell]’:
../../QMoMDialogs/dialogaddunit.cpp:258:45:   required from here
../../QMoMDialogs/dialogaddunit.h:67:49: error: ‘prettyQStr’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
         QString specialName = prettyQStr(special);
                                                 ^
In file included from ../../QMoMCommon/QMoMTreeItemModel.h:19:0,
                 from ../../QMoMCommon/unitmodel.h:19,
                 from ./mainwindow.h:20,
                 from ../../QMoMDialogs/dialogaddunit.cpp:22:
../../QMoMCommon/QMoMUtility.h:113:16: note: ‘template<class T> QString prettyQStr(const T&)’ declared here, later in the translation unit
inline QString prettyQStr(const T& t)
                ^
make: *** [gcc/Release/dialogaddunit.o] Error 1

full build output : http://pastebin.com/5LyXHECb
Reply



Messages In This Thread
building MoM tweaker on linux 64-bit, QT 4.8.5 - by LoneVVolf - September 5th, 2013, 17:19

Forum Jump: