diff --git a/src/logger/logger.pro b/src/logger/logger.pro index 4dc96b9..d257ae5 100644 --- a/src/logger/logger.pro +++ b/src/logger/logger.pro @@ -1,6 +1,6 @@ -load(qt_module)
TARGET = QtLogger +load(qt_module) QPRO_PWD = $PWD CONFIG += module MODULE_PRI = ../../modules/qt_logger.pri On Sat, Aug 10, 2013 at 4:46 PM, Christian Gagneraud <[email protected]> wrote: > On 08/10/2013 01:41 PM, Chris Craig wrote: > > Hi Chris, > > > Hate to reply to myself, but I made a typo. Add that line to > > .qmake.conf, not .qmake.cache. > It did the trick, thanks! > > I tried to do the same for the qlogger module, but it didn't work: > > krys@linux-z8sp:~/local/qt5/build> make -C qlogger/ > make: Entering directory `/home/krys/local/qt5/build/qlogger' > Makefile:308: warning: overriding recipe for target `docs' > Makefile:302: warning: ignoring old recipe for target `docs' > cd src/ && ( test -e Makefile || > /home/krys/local/qt5/build/qtbase/bin/qmake > /home/krys/local/qt5/qlogger/src/src.pro -o Makefile ) && make -f Makefile > make[1]: Entering directory `/home/krys/local/qt5/build/qlogger/src' > cd logger/ && ( test -e Makefile || > /home/krys/local/qt5/build/qtbase/bin/qmake > /home/krys/local/qt5/qlogger/src/logger/logger.pro -o Makefile ) && make > -f Makefile > Project MESSAGE: perl -w /home/krys/local/qt5/qtbase/bin/syncqt.pl > -check-includes -module logger -version 5.0.0 -outdir > /home/krys/local/qt5/build/qtbase /home/krys/local/qt5/qlogger > <srcbase> = /home/krys/local/qt5/qlogger > <outbase> = /home/krys/local/qt5/build/qtbase > No such module: logger at /home/krys/local/qt5/qtbase/bin/syncqt.pl line > 805. > Project ERROR: Failed to run: perl -w > /home/krys/local/qt5/qtbase/bin/syncqt.pl -check-includes -module logger > -version 5.0.0 -outdir /home/krys/local/qt5/build/qtbase > /home/krys/local/qt5/qlogger > make[1]: *** [sub-logger-make_first-ordered] Error 3 > make[1]: Leaving directory `/home/krys/local/qt5/build/qlogger/src' > make: *** [module-qlogger-src-make_first] Error 2 > make: Leaving directory `/home/krys/local/qt5/build/qlogger' > > > Thanks, > Chris > > > > > Chris > > > > On Fri, Aug 9, 2013 at 9:37 PM, Chris Craig <[email protected] > > <mailto:[email protected]>> wrote: > > > > Sigh. I haven't tried building qtjsonstream with 5.1 yet. It > > looks like a MODULE_VERSION is now required in .qmake.conf. Try > > adding something like: > > > > MODULE_VERSION = 5.1.1 > > > > to .qmake.cache > > > > I am not sure what the correct value should be for a playground > > module that is more or less stagnant should be. Does it need to > > get bumped with each release like the official modules? Perhaps > > Sergio, Ossi, or somebody else who does this stuff can chime in. > > > > Once I figure out what the value should be, I'll change it in > > qtjsonstream and qtprocessmanager. > > > > Chris > > > > On Sat, Aug 10, 2013 at 9:16 AM, Christian Gagneraud > > <[email protected] <mailto:[email protected]>> wrote: > > > > Hi, > > > > I have been using qt5 stable git branch for a while now, and it's > > relatively easy to update and rebuild. > > However, I would like to build a couple of QtAddons, of which > > qtjsonstream. > > When pulled from git this module comes with a pro file that just > > contains 1 line: "load(qt_parts)" > > I tried naively to add this addon to my qt5 tree by doing: > > - move qtjsonstream directory into qt5 dir > > - add "addModule(qtjsonstream, qtbase)" in qt.pro <http://qt.pro > > > > - mkdir build > > - cd build; ../configure [...] > > - make > > > > But unfortunately qtjsonstream didn't get built, if i cd into > > qt5/build/qtjsonstream and issue a make command, i get the > > following error: > > krys@linux-z8sp:~/local/qt5/build/qtjsonstream> make > > cd src/ && ( test -e Makefile || > > /home/krys/local/qt5/build/qtbase/bin/qmake > > /home/krys/local/qt5/qtjsonstream/src/src.pro <http://src.pro> > > -o Makefile ) && make -f > > Makefile > > make[1]: Entering directory > > `/home/krys/local/qt5/build/qtjsonstream/src' > > cd jsonstream/ && ( test -e Makefile || > > /home/krys/local/qt5/build/qtbase/bin/qmake > > /home/krys/local/qt5/qtjsonstream/src/jsonstream/jsonstream.pro< > http://jsonstream.pro> > > -o > > Makefile ) && make -f Makefile > > Project ERROR: Module does not define version. > > make[1]: *** [sub-jsonstream-make_first] Error 3 > > make[1]: Leaving directory > > `/home/krys/local/qt5/build/qtjsonstream/src' > > make: *** [sub-src-make_first] Error 2 > > > > I would like to add qlogger to my build too, but ran into similar > > problems ... > > > > > > Any hint or point out appreciated, > > Chris > > > > _______________________________________________ > > Development mailing list > > [email protected] <mailto:[email protected]> > > http://lists.qt-project.org/mailman/listinfo/development > > > > > > > > > > > > _______________________________________________ > > Development mailing list > > [email protected] > > http://lists.qt-project.org/mailman/listinfo/development > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
