Skip to content

Build fails when compiling qtbindings #1

@tinvaan

Description

@tinvaan

Following instructions in README, I get an error as following error when compiling qtbindings

~/devel/build/qtscriptgenerator/qtbindings (5.0 ✘)✭ ᐅ  qmake && make 
cd qtscript_core/ && ( test -e Makefile || /usr/bin/qmake-qt5 /home/harish/devel/build/qtscriptgenerator/qtbindings/qtscript_core/qtscript_core.pro -o Makefile ) && make -f Makefile 
make[1]: Entering directory '/home/harish/devel/build/qtscriptgenerator/qtbindings/qtscript_core'
make -f Makefile.Release all
make[2]: Entering directory '/home/harish/devel/build/qtscriptgenerator/qtbindings/qtscript_core'
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -Iinclude -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtScript -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Irelease -I/usr/lib/qt/mkspecs/linux-g++ -o release/qtscript_QFuture.o ../../generated_cpp/com_trolltech_qt_core/qtscript_QFuture.cpp
In file included from ../../generated_cpp/com_trolltech_qt_core/qtscript_QFuture.cpp:7:0:
include/__package_shared.h:18:73: error: no member function ‘Create’ declared in ‘QtMetaTypePrivate::QMetaTypeFunctionHelper<QEvent, true>’
 inline void *QMetaTypeFunctionHelper<QEvent, true>::Create(const void *t)
                                                                         ^
../../generated_cpp/com_trolltech_qt_core/qtscript_QFuture.cpp:57:21: warning: ‘QScriptValue qtscript_QFuture_prototype_call(QScriptContext*, QScriptEngine*)’ defined but not used [-Wunused-function]
 static QScriptValue qtscript_QFuture_prototype_call(QScriptContext *context, QScriptEngine *)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile.Release:442: release/qtscript_QFuture.o] Error 1
make[2]: Leaving directory '/home/harish/devel/build/qtscriptgenerator/qtbindings/qtscript_core'
make[1]: *** [Makefile:42: release-all] Error 2
make[1]: Leaving directory '/home/harish/devel/build/qtscriptgenerator/qtbindings/qtscript_core'
make: *** [Makefile:49: sub-qtscript_core-make_first] Error 2

I'm using Qt version 5.7.0 provided by my distro. I'm on ArchLinux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions