Menu

Compile error on SVN version

Help
2016-08-02
2016-08-03
  • Daniel Bermond

    Daniel Bermond - 2016-08-02

    I'm getting the following error when compiling PythonQt version SVN:

    abstractmetalang.cpp: In member function ‘QString AbstractMetaClass::getDefaultNonZeroFunction() const’:
    abstractmetalang.cpp:858:10: error: could not convert ‘false’ from ‘bool’ to ‘QString’
       return false;
              ^~~~~
    abstractmetalang.cpp: At global scope:
    abstractmetalang.cpp:1209:16: warning: ‘QString upCaseFirst(const QString&)’ defined but not used [-Wunused-function]
     static QString upCaseFirst(const QString &str) {
                    ^~~~~~~~~~~
    make[2]: *** [Makefile.Release:959: release/abstractmetalang.o] Error 1
    make[2]: Leaving directory '/storage/linux/abs/pythonqt-svn/src/pythonqt-svn/generator'
    make[1]: *** [Makefile:42: release-all] Error 2
    make[1]: Leaving directory '/storage/linux/abs/pythonqt-svn/src/pythonqt-svn/generator'
    make: *** [Makefile:53: sub-generator-all-ordered] Error 2
    

    It seems to be introduced by SVN revision 439 since in revison 438 it was compiling perfectly.

    Commands used:

    $ svn checkout svn://svn.code.sf.net/p/pythonqt/code/trunk pythonqt-svn
    $ cd pythonqt-svn
    $ qmake
    $ make all
    

    Using:
    PythonQt: SVN r439
    OS: Arch Linux x86_64
    subversion: 1.9.4
    gcc: 6.1.1
    qmake: 3.0
    Qt: 5.7.0
    python3: 3.5.2
    python2: 2.7.12

    Any help would be appreciated.
    Thank you.

     

    Last edit: Daniel Bermond 2016-08-02
  • Florian Link

    Florian Link - 2016-08-03

    Fixed, just update to SVN trunk.

     
  • Daniel Bermond

    Daniel Bermond - 2016-08-03

    It's working now.
    Thank you Florian.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.