Menu

compile laetst version

tom
2016-06-13
2016-06-13
  • tom

    tom - 2016-06-13

    Hi,
    I'm getting error when compiling the latest version of pythonqt.
    I'm on a mac using homebrew qt 5.6.1 (using clang to compile):

    > /usr/local/opt/qt5/bin/qmake --version
    QMake version 3.0
    Using Qt version 5.6.1 in /usr/local/Cellar/qt5/5.6.1/lib
    

    here is the log of the failing compile:

    11:24 ~/Downloads/PythonQt3.1 > make
    cd generator/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /Users/tommaso/Downloads/PythonQt3.1/generator/generator.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Release
    make[2]: Nothing to be done for `first'.
    cd src/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /Users/tommaso/Downloads/PythonQt3.1/src/src.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
    make[1]: Nothing to be done for `first'.
    cd extensions/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /Users/tommaso/Downloads/PythonQt3.1/extensions/extensions.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
    cd PythonQt_QtAll/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /Users/tommaso/Downloads/PythonQt3.1/extensions/PythonQt_QtAll/PythonQt_QtAll.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DPYTHONQT_QTALL_EXPORTS -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/local/Frameworks/Python.framework/Headers -I../../src -I/usr/local/Cellar/qt5/5.6.1/lib/QtSvg.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtOpenGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtPrintSupport.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtMultimediaWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtQuickWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtMultimedia.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtQuick.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtXmlPatterns.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtQml.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtNetwork.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtXml.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.1/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.6.1/lib -o com_trolltech_qt_core2.o ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:90:9: warning: 'PythonQtWrapper_QObject::childEvent' hides overloaded virtual function [-Woverloaded-virtual]
       void childEvent(QObject* theWrappedObject, QChildEvent*  arg__1);
            ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:434:18: note: hidden overloaded virtual function 'QObject::childEvent' declared here: different number of parameters (1 vs 2)
        virtual void childEvent(QChildEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:93:9: warning: 'PythonQtWrapper_QObject::customEvent' hides overloaded virtual function [-Woverloaded-virtual]
       void customEvent(QObject* theWrappedObject, QEvent*  arg__1);
            ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:435:18: note: hidden overloaded virtual function 'QObject::customEvent' declared here: different number of parameters
          (1 vs 2)
        virtual void customEvent(QEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:98:10: warning: 'PythonQtWrapper_QObject::event' hides overloaded virtual function [-Woverloaded-virtual]
       bool  event(QObject* theWrappedObject, QEvent*  arg__1);
             ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:116:18: note: hidden overloaded virtual function 'QObject::event' declared here: different number of parameters (1 vs 2)
        virtual bool event(QEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:100:10: warning: 'PythonQtWrapper_QObject::eventFilter' hides overloaded virtual function [-Woverloaded-virtual]
       bool  eventFilter(QObject* theWrappedObject, QObject*  arg__1, QEvent*  arg__2);
             ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:117:18: note: hidden overloaded virtual function 'QObject::eventFilter' declared here: different number of parameters
          (2 vs 3)
        virtual bool eventFilter(QObject *watched, QEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:116:9: warning: 'PythonQtWrapper_QObject::timerEvent' hides overloaded virtual function [-Woverloaded-virtual]
       void timerEvent(QObject* theWrappedObject, QTimerEvent*  arg__1);
            ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:433:18: note: hidden overloaded virtual function 'QObject::timerEvent' declared here: different number of parameters (1 vs 2)
        virtual void timerEvent(QTimerEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1:
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.h:1269:13: warning: 'PythonQtWrapper_QStateMachine__WrappedEvent::event' hides overloaded virtual function
          [-Woverloaded-virtual]
       QEvent*  event(QStateMachine::WrappedEvent* theWrappedObject) const;
                ^
    /usr/local/Cellar/qt5/5.6.1/lib/QtCore.framework/Headers/qobject.h:116:18: note: hidden overloaded virtual function 'QObject::event' declared here: type mismatch at 1st parameter
          ('QEvent *' vs 'QStateMachine::WrappedEvent *')
        virtual bool event(QEvent *event);
                     ^
    In file included from ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:2:
    ../../src/PythonQtConversion.h:490:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        PyObject* items = PyMapping_Items(val);
                          ^
    /usr/local/Frameworks/Python.framework/Headers/abstract.h:1354:50: note: expanded from macro 'PyMapping_Items'
    #define PyMapping_Items(O) PyObject_CallMethod(O,"items",NULL)
                                                     ^
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:99:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:111:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:99:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:96:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:129:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:141:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:129:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:126:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:359:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:371:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:359:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:356:22: note: initialize the variable 'returnValue' to silence this warning
          int returnValue;
                         ^
                          = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:389:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:401:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:389:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:386:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:419:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:431:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:419:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:416:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:586:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:598:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:586:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:583:22: note: initialize the variable 'returnValue' to silence this warning
          int returnValue;
                         ^
                          = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:616:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:628:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:616:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:613:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:646:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:658:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:646:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:643:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:890:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:902:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:890:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:887:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:920:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:932:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:920:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:917:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:950:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:962:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:950:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:947:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:980:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:992:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:980:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:977:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1067:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1079:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1067:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1064:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1097:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1109:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1097:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1094:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1127:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1139:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1127:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1124:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1157:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1169:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1157:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1154:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1187:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1199:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1187:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1184:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1217:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1229:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1217:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1214:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1247:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1259:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1247:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1244:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1277:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1289:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1277:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1274:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1307:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1319:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1307:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1304:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1356:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1368:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1356:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1353:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1405:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1417:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1405:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1402:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1435:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1447:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1435:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1432:23: note: initialize the variable 'returnValue' to silence this warning
          bool returnValue;
                          ^
                           = false
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1465:9: warning: variable 'returnValue' is used uninitialized whenever 'if' condition is false
          [-Wsometimes-uninitialized]
        if (result) {
            ^~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1477:12: note: uninitialized use occurs here
        return returnValue;
               ^~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1465:5: note: remove the 'if' if its condition is always true
        if (result) {
        ^~~~~~~~~~~~
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1462:25: note: initialize the variable 'returnValue' to silence this warning
          qint64 returnValue;
                            ^
                             = 0
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1548:30: error: no member named 'inheritHandles' in 'QProcess'
      return ( theWrappedObject->inheritHandles());
               ~~~~~~~~~~~~~~~~  ^
    ../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core2.cpp:1608:23: error: no member named 'setInheritHandles' in 'QProcess'
      ( theWrappedObject->setInheritHandles(inherit));
        ~~~~~~~~~~~~~~~~  ^
    32 warnings and 2 errors generated.
    make[2]: *** [com_trolltech_qt_core2.o] Error 1
    make[1]: *** [sub-PythonQt_QtAll-make_first] Error 2
    make: *** [sub-extensions-make_first-ordered] Error 2
    

    Any suggestion?

     
  • Florian Link

    Florian Link - 2016-06-13

    Sorry for that, I accidentally wrapped a patched version of Qt 5.6.
    You have to remove the inheritHandles() and setInheritHandles() methods from the QProcess wrappers. I will also update the svn + zip file later today. Thanks for reporting!

     
  • Florian Link

    Florian Link - 2016-06-13

    I fixed this and updated SVN trunk and the PyhtonQt 3.1 zip file. Please let me know if it builds now.

     
  • tom

    tom - 2016-06-13

    Yes it builds now
    thanks a lot!

     

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.