Closed rawsh closed 5 years ago
it seem you didn't followed installation instruction
you need to run qtsetup
first
@bclermont I get this error. I installed qt5-devel via the fedora package manager, here is the error:
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtcore/qtcore.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtcore/qtcore.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtremoteobjects/qtremoteobjects.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtremoteobjects/qtremoteobjects.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=RemoteObjects
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtquick/qtquick.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtquick/qtquick.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Quick
WARN[0000] parser.LoadModule error=EOF module=Core
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtandroidextras/qtandroidextras.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtandroidextras/qtandroidextras.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=AndroidExtras
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qthelp/qthelp.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qthelp/qthelp.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Help
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtnetwork/qtnetwork.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtnetwork/qtnetwork.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Network
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtxml/qtxml.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtxml/qtxml.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtdbus/qtdbus.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtdbus/qtdbus.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=DBus
WARN[0000] parser.LoadModule error=EOF module=Xml
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtnfc/qtnfc.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtnfc/qtnfc.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtlocation/qtlocation.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtlocation/qtlocation.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Location
WARN[0000] parser.LoadModule error=EOF module=Nfc
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtscript/qtscript.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtscript/qtscript.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Script
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtscripttools/qtscripttools.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtscripttools/qtscripttools.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=ScriptTools
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtsensors/qtsensors.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtsensors/qtsensors.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Sensors
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtpositioning/qtpositioning.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtpositioning/qtpositioning.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Positioning
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtsql/qtsql.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtsql/qtsql.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtqml/qtqml.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtqml/qtqml.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Qml
WARN[0000] parser.LoadModule error=EOF module=Sql
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtuitools/qtuitools.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtuitools/qtuitools.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=UiTools
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtwebsockets/qtwebsockets.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtwebsockets/qtwebsockets.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=WebSockets
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtwebengine/qtwebengine.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtwebengine/qtwebengine.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=WebEngine
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtxmlpatterns/qtxmlpatterns.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtxmlpatterns/qtxmlpatterns.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=XmlPatterns
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtbluetooth/qtbluetooth.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtbluetooth/qtbluetooth.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtwebchannel/qtwebchannel.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtwebchannel/qtwebchannel.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=WebChannel
WARN[0000] parser.LoadModule error=EOF module=Bluetooth
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qttestlib/qttestlib.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qttestlib/qttestlib.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=TestLib
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtsvg/qtsvg.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtsvg/qtsvg.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtmultimedia/qtmultimedia.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtmultimedia/qtmultimedia.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Multimedia
WARN[0000] parser.LoadModule error=EOF module=Svg
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtserialport/qtserialport.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtserialport/qtserialport.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtdatavisualization/qtdatavisualization.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtdatavisualization/qtdatavisualization.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=SerialPort
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtcharts/qtcharts.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtcharts/qtcharts.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtserialbus/qtserialbus.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtserialbus/qtserialbus.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=SerialBus
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtprintsupport/qtprintsupport.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtprintsupport/qtprintsupport.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=PrintSupport
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtdesigner/qtdesigner.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtdesigner/qtdesigner.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Designer
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtscxml/qtscxml.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtscxml/qtscxml.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Scxml
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtgamepad/qtgamepad.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtgamepad/qtgamepad.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtpurchasing/qtpurchasing.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtpurchasing/qtpurchasing.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Purchasing
WARN[0000] parser.LoadModule error=EOF module=Gamepad
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtspeech/qtspeech.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtspeech/qtspeech.index: no such file or directory"
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtwebview/qtwebview.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtwebview/qtwebview.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=WebView
WARN[0000] parser.LoadModule error=EOF module=Speech
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtgui/qtgui.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtgui/qtgui.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Gui
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtwidgets/qtwidgets.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtwidgets/qtwidgets.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=Widgets
ERRO[0000] failed to load /usr/include/qt5/Docs/Qt-5.9.1/qtquickcontrols2/qtquickcontrols2.index error="open /usr/include/qt5/Docs/Qt-5.9.1/qtquickcontrols2/qtquickcontrols2.index: no such file or directory"
WARN[0000] parser.LoadModule error=EOF module=QuickControls2
INFO[0000] generating full qt/core
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/core.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/core/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/core/Mfile: no such file or directory"
INFO[0000] generating full qt/androidextras
INFO[0000] generating full qt/gui
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/gui.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/gui/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/gui/Mfile: no such file or directory"
INFO[0000] generating full qt/network
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/network.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/network/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/network/Mfile: no such file or directory"
INFO[0000] generating full qt/xml
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/xml.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/xml/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/xml/Mfile: no such file or directory"
INFO[0000] generating full qt/dbus
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/dbus.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/dbus/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/dbus/Mfile: no such file or directory"
INFO[0000] generating full qt/nfc
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/nfc.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/nfc/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/nfc/Mfile: no such file or directory"
INFO[0000] generating full qt/script
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/script.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/script/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/script/Mfile: no such file or directory"
INFO[0000] generating full qt/sensors
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/sensors.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/sensors/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/sensors/Mfile: no such file or directory"
INFO[0000] generating full qt/positioning
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/positioning.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/positioning/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/positioning/Mfile: no such file or directory"
INFO[0000] generating full qt/widgets
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/widgets.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/widgets/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/widgets/Mfile: no such file or directory"
INFO[0000] generating full qt/sql
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/sql.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/sql/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/sql/Mfile: no such file or directory"
INFO[0000] generating full qt/qml
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/qml.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/qml/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/qml/Mfile: no such file or directory"
INFO[0000] generating full qt/websockets
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/websockets.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/websockets/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/websockets/Mfile: no such file or directory"
INFO[0000] generating full qt/xmlpatterns
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/xmlpatterns.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/xmlpatterns/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/xmlpatterns/Mfile: no such file or directory"
INFO[0000] generating full qt/bluetooth
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/bluetooth.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/bluetooth/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/bluetooth/Mfile: no such file or directory"
INFO[0000] generating full qt/webchannel
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webchannel.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/webchannel/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webchannel/Mfile: no such file or directory"
INFO[0000] generating full qt/svg
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/svg.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/svg/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/svg/Mfile: no such file or directory"
INFO[0000] generating full qt/multimedia
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/multimedia.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/multimedia/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/multimedia/Mfile: no such file or directory"
INFO[0000] generating full qt/quick
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/quick.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/quick/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/quick/Mfile: no such file or directory"
INFO[0000] generating full qt/help
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/help.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/help/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/help/Mfile: no such file or directory"
INFO[0000] generating full qt/location
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/location.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/location/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/location/Mfile: no such file or directory"
INFO[0000] generating full qt/scripttools
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/scripttools.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/scripttools/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/scripttools/Mfile: no such file or directory"
INFO[0000] generating full qt/uitools
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/uitools.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/uitools/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/uitools/Mfile: no such file or directory"
INFO[0000] generating full qt/webengine
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webengine.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile: no such file or directory"
INFO[0000] generating full qt/testlib
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/testlib.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/testlib/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/testlib/Mfile: no such file or directory"
INFO[0000] generating full qt/serialport
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/serialport.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/serialport/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/serialport/Mfile: no such file or directory"
INFO[0000] generating full qt/serialbus
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/serialbus.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile: no such file or directory"
INFO[0000] generating full qt/printsupport
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/printsupport.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/printsupport/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/printsupport/Mfile: no such file or directory"
INFO[0000] generating full qt/designer
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/designer.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/designer/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/designer/Mfile: no such file or directory"
INFO[0000] generating full qt/scxml
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/scxml.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile: no such file or directory"
INFO[0000] generating full qt/gamepad
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/gamepad.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile: no such file or directory"
INFO[0000] generating full qt/purchasing
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/purchasing.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/purchasing/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/purchasing/Mfile: no such file or directory"
INFO[0000] generating full qt/datavisualization
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/datavisualization.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile: no such file or directory"
INFO[0000] generating full qt/charts
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/charts.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/charts/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/charts/Mfile: no such file or directory"
INFO[0000] generating full qt/speech
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/speech.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/speech/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/speech/Mfile: no such file or directory"
INFO[0000] generating full qt/quickcontrols2
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/quickcontrols2.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile: no such file or directory"
INFO[0000] generating full qt/sailfish
INFO[0000] generating full qt/webview
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webview.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/webview/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webview/Mfile: no such file or directory"
INFO[0000] generating full qt/remoteobjects
ERRO[0000] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/remoteobjects.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/remoteobjects/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/remoteobjects/Mfile: no such file or directory"
INFO[0000] running: 'qtsetup install linux' [docker=false] [vagrant=false]
INFO[0000] installing full qt/core
ERRO[0000] failed to run command cmd="go install -p 2 -v github.com/therecipe/qt/core" env= error="exit status 2" func=RunCmdOptionalError name="install core"
github.com/therecipe/qt/core
# github.com/therecipe/qt/core
../src/github.com/therecipe/qt/core/core.cpp:9:10: fatal error: QTextDocument: No such file or directory
#include <QTextDocument>
^~~~~~~~~~~~~~~
compilation terminated.
INFO[0000] installing full qt/androidextras
ERRO[0000] failed to run command cmd="go install -p 2 -v github.com/therecipe/qt/androidextras" env= error="exit status 2" func=RunCmdOptionalError name="install androidextras"
github.com/therecipe/qt/androidextras
# github.com/therecipe/qt/androidextras
../src/github.com/therecipe/qt/androidextras/androidextras.go:11: undefined: QAndroidJniEnvironment
INFO[0000] installing full qt/gui
INFO[0000] installing full qt/network
INFO[0000] installing full qt/xml
INFO[0001] installing full qt/dbus
INFO[0001] installing full qt/nfc
INFO[0001] installing full qt/script
INFO[0001] installing full qt/sensors
INFO[0002] installing full qt/positioning
INFO[0002] installing full qt/widgets
INFO[0002] installing full qt/sql
INFO[0002] installing full qt/qml
INFO[0003] installing full qt/websockets
INFO[0003] installing full qt/xmlpatterns
INFO[0003] installing full qt/bluetooth
INFO[0003] installing full qt/webchannel
INFO[0004] installing full qt/svg
INFO[0004] installing full qt/multimedia
INFO[0004] installing full qt/quick
INFO[0004] installing full qt/help
INFO[0005] installing full qt/location
INFO[0005] installing full qt/scripttools
INFO[0005] installing full qt/uitools
INFO[0005] installing full qt/webengine
INFO[0006] installing full qt/testlib
INFO[0006] installing full qt/serialport
INFO[0006] installing full qt/serialbus
INFO[0006] installing full qt/printsupport
INFO[0007] installing full qt/designer
INFO[0007] installing full qt/scxml
INFO[0007] installing full qt/gamepad
INFO[0007] installing full qt/purchasing
INFO[0008] installing full qt/datavisualization
INFO[0008] installing full qt/charts
INFO[0008] installing full qt/speech
INFO[0008] installing full qt/quickcontrols2
INFO[0009] installing full qt/sailfish
INFO[0009] installing full qt/webview
INFO[0009] installing full qt/remoteobjects
WARN[0009] failed to install:
WARN[0009] core
WARN[0009] androidextras
INFO[0009] running: 'qtsetup test linux' [docker=false] [vagrant=false]
INFO[0009] testing qml/application
ERRO[0009] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/internal/examples/qml/application.pro -spec linux-g++ CONFIG+=release" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/qmake: no such file or directory" func=RunCmdOptional name="run qmake for linux on linux"
ERRO[0009] failed to load /home/robert/go/src/github.com/therecipe/qt/internal/examples/qml/application/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/internal/examples/qml/application/Mfile: no such file or directory"
ERRO[0009] failed to run command cmd="/usr/include/qt5/5.9.1/gcc_64/bin/rcc -project -o /home/robert/go/src/github.com/therecipe/qt/internal/examples/qml/application/rcc.qrc" env= error="fork/exec /usr/include/qt5/5.9.1/gcc_64/bin/rcc: no such file or directory" func=RunCmd name="execute rcc *.qrc on linux for linux"
And using the package config and qt directory variables I get the following:
INFO[0000] running: 'qtsetup prep'
WARN[0000] failed to create qtrcc symlink in your PATH (/usr/lib/golang/bin/qtrcc); please use /home/robert/go/bin/qtrcc instead
WARN[0000] failed to create qtmoc symlink in your PATH (/usr/lib/golang/bin/qtmoc); please use /home/robert/go/bin/qtmoc instead
WARN[0000] failed to create qtminimal symlink in your PATH (/usr/lib/golang/bin/qtminimal); please use /home/robert/go/bin/qtminimal instead
WARN[0000] failed to create qtdeploy symlink in your PATH (/usr/lib/golang/bin/qtdeploy); please use /home/robert/go/bin/qtdeploy instead
INFO[0000] running: 'qtsetup check linux' [docker=false] [vagrant=false]
INFO[0000] GOOS: 'linux'
INFO[0000] GOARCH: 'amd64'
INFO[0000] GOVERSION: 'go1.8.4'
INFO[0000] GOROOT: '/usr/lib/golang'
INFO[0000] GOPATH: '/home/robert/go'
INFO[0000] GOBIN: '/home/robert/go/bin'
INFO[0000] QT_HASH: '599f8bc2c975802ea592c43d110209f0a267b188'
INFO[0000] QT_VERSION: '5.9.1'
INFO[0000] QT_VERSION_MAJOR: '5.9.1'
INFO[0000] QT_DIR: '/home/robert/Qt5.9.1'
PANI[0000] failed to find QT_DIR (/home/robert/Qt5.9.1) error="open /home/robert/Qt5.9.1: no such file or directory"
panic: (*logrus.Entry) (0x8053e0,0xc420062550)
goroutine 1 [running]:
github.com/Sirupsen/logrus.Entry.log(0xc42001e0f0, 0xc42015c750, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/robert/go/src/github.com/Sirupsen/logrus/entry.go:128 +0x378
github.com/Sirupsen/logrus.(*Entry).Panic(0xc420062500, 0xc42004d7b8, 0x1, 0x1)
/home/robert/go/src/github.com/Sirupsen/logrus/entry.go:173 +0x127
github.com/Sirupsen/logrus.(*Entry).Panicf(0xc420062500, 0x834187, 0x16, 0xc42004db50, 0x2, 0x2)
/home/robert/go/src/github.com/Sirupsen/logrus/entry.go:221 +0x101
github.com/therecipe/qt/internal/cmd/setup.Check(0x80f9b0, 0x5, 0x800000)
/home/robert/go/src/github.com/therecipe/qt/internal/cmd/setup/check.go:141 +0x14e9
main.main()
/home/robert/go/src/github.com/therecipe/qt/cmd/qtsetup/main.go:87 +0x25c
[robert@rawlinux bin]$ export QT_PKG_CONFIG=true
[robert@rawlinux bin]$ ./qtsetup
INFO[0000] running: 'qtsetup prep'
WARN[0000] failed to create qtrcc symlink in your PATH (/usr/lib/golang/bin/qtrcc); please use /home/robert/go/bin/qtrcc instead
WARN[0000] failed to create qtmoc symlink in your PATH (/usr/lib/golang/bin/qtmoc); please use /home/robert/go/bin/qtmoc instead
WARN[0000] failed to create qtminimal symlink in your PATH (/usr/lib/golang/bin/qtminimal); please use /home/robert/go/bin/qtminimal instead
WARN[0000] failed to create qtdeploy symlink in your PATH (/usr/lib/golang/bin/qtdeploy); please use /home/robert/go/bin/qtdeploy instead
INFO[0000] running: 'qtsetup check linux' [docker=false] [vagrant=false]
INFO[0000] GOOS: 'linux'
INFO[0000] GOARCH: 'amd64'
INFO[0000] GOVERSION: 'go1.8.4'
INFO[0000] GOROOT: '/usr/lib/golang'
INFO[0000] GOPATH: '/home/robert/go'
INFO[0000] GOBIN: '/home/robert/go/bin'
INFO[0000] QT_HASH: '599f8bc2c975802ea592c43d110209f0a267b188'
INFO[0000] QT_VERSION: '5.7.1'
INFO[0000] QT_VERSION_MAJOR: '5.7'
INFO[0000] QT_DIR: '/home/robert/Qt5.7.1'
INFO[0000] QT_STUB: 'false'
INFO[0000] QT_DEBUG: 'false'
INFO[0000] QT_QMAKE_DIR: ''
INFO[0000] QT_WEBKIT: 'false'
INFO[0000] QT_DISTRO: 'fedora'
INFO[0000] QT_PKG_CONFIG: * 'true'
INFO[0000] QT_DOC_DIR: '/usr/share/doc/qt5'
INFO[0000] QT_MISC_DIR: '/usr/lib64/qt5'
INFO[0000] running: 'qtsetup generate linux' [docker=false] [vagrant=false]
WARN[0000] parser.LoadModule error=EOF module=WebView
WARN[0000] parser.LoadModule error=EOF module=Svg
WARN[0000] parser.LoadModule error=EOF module=Core
WARN[0000] parser.LoadModule error=EOF module=Multimedia
WARN[0000] parser.LoadModule error=EOF module=AndroidExtras
WARN[0000] parser.LoadModule error=EOF module=Gui
WARN[0000] parser.LoadModule error=EOF module=Network
WARN[0000] parser.LoadModule error=EOF module=Quick
WARN[0000] parser.LoadModule error=EOF module=Xml
WARN[0000] parser.LoadModule error=EOF module=DBus
WARN[0000] parser.LoadModule error=EOF module=Help
WARN[0000] parser.LoadModule error=EOF module=Location
WARN[0000] parser.LoadModule error=EOF module=Nfc
WARN[0000] parser.LoadModule error=EOF module=Script
WARN[0000] parser.LoadModule error=EOF module=ScriptTools
WARN[0000] parser.LoadModule error=EOF module=Sensors
WARN[0000] parser.LoadModule error=EOF module=Positioning
WARN[0000] parser.LoadModule error=EOF module=UiTools
WARN[0000] parser.LoadModule error=EOF module=Widgets
WARN[0000] parser.LoadModule error=EOF module=Sql
WARN[0000] parser.LoadModule error=EOF module=Qml
WARN[0000] parser.LoadModule error=EOF module=WebEngine
WARN[0000] parser.LoadModule error=EOF module=WebSockets
WARN[0000] parser.LoadModule error=EOF module=TestLib
WARN[0000] parser.LoadModule error=EOF module=XmlPatterns
WARN[0000] parser.LoadModule error=EOF module=Bluetooth
WARN[0000] parser.LoadModule error=EOF module=SerialPort
WARN[0000] parser.LoadModule error=EOF module=WebChannel
WARN[0000] parser.LoadModule error=EOF module=Gamepad
WARN[0000] parser.LoadModule error=EOF module=SerialBus
WARN[0000] parser.LoadModule error=EOF module=PrintSupport
WARN[0000] parser.LoadModule error=EOF module=Designer
WARN[0000] parser.LoadModule error=EOF module=QuickControls2
WARN[0000] parser.LoadModule error=EOF module=Scxml
INFO[0000] generating full qt/core
INFO[0000] generating full qt/androidextras
INFO[0000] generating full qt/gui
INFO[0000] generating full qt/network
INFO[0000] generating full qt/xml
INFO[0000] generating full qt/dbus
INFO[0000] generating full qt/nfc
INFO[0000] generating full qt/script
INFO[0000] generating full qt/sensors
INFO[0000] generating full qt/positioning
INFO[0000] generating full qt/widgets
INFO[0000] generating full qt/sql
INFO[0000] generating full qt/qml
INFO[0000] generating full qt/websockets
INFO[0000] generating full qt/xmlpatterns
INFO[0000] generating full qt/bluetooth
INFO[0000] generating full qt/webchannel
INFO[0000] generating full qt/svg
INFO[0000] generating full qt/multimedia
INFO[0000] generating full qt/quick
INFO[0000] generating full qt/help
INFO[0000] generating full qt/location
INFO[0000] generating full qt/scripttools
INFO[0000] generating full qt/uitools
INFO[0000] generating full qt/webengine
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webengine.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/webengine/.qmake.stash
Project ERROR: Unknown module(s) in QT: webengine webenginewidgets webenginecore
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile: no such file or directory"
INFO[0000] generating full qt/testlib
INFO[0000] generating full qt/serialport
INFO[0000] generating full qt/serialbus
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/serialbus.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/serialbus/.qmake.stash
Project ERROR: Unknown module(s) in QT: serialbus
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile: no such file or directory"
INFO[0000] generating full qt/printsupport
INFO[0000] generating full qt/designer
INFO[0000] generating full qt/scxml
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/scxml.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/scxml/.qmake.stash
Project ERROR: Unknown module(s) in QT: scxml
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile: no such file or directory"
INFO[0000] generating full qt/gamepad
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/gamepad.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/gamepad/.qmake.stash
Project ERROR: Unknown module(s) in QT: gamepad
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile: no such file or directory"
INFO[0000] generating full qt/datavisualization
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/datavisualization.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/datavisualization/.qmake.stash
Project ERROR: Unknown module(s) in QT: datavisualization
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile: no such file or directory"
INFO[0000] generating full qt/charts
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/charts.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/charts/.qmake.stash
Project ERROR: Unknown module(s) in QT: charts
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/charts/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/charts/Mfile: no such file or directory"
INFO[0000] generating full qt/quickcontrols2
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/quickcontrols2.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/.qmake.stash
Project ERROR: Unknown module(s) in QT: quickcontrols2
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile: no such file or directory"
INFO[0000] generating full qt/sailfish
INFO[0000] generating full qt/webview
ERRO[0000] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webview.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/webview/.qmake.stash
Project ERROR: Unknown module(s) in QT: webview
ERRO[0000] failed to load /home/robert/go/src/github.com/therecipe/qt/webview/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webview/Mfile: no such file or directory"
INFO[0000] running: 'qtsetup install linux' [docker=false] [vagrant=false]
INFO[0000] installing full qt/core
INFO[0001] installing full qt/androidextras
ERRO[0001] failed to run command cmd="go install -p 2 -v github.com/therecipe/qt/androidextras" env= error="exit status 2" func=RunCmdOptionalError name="install androidextras"
github.com/therecipe/qt/androidextras
# github.com/therecipe/qt/androidextras
../src/github.com/therecipe/qt/androidextras/androidextras.go:11: undefined: QAndroidJniEnvironment
INFO[0001] installing full qt/gui
INFO[0002] installing full qt/network
INFO[0002] installing full qt/xml
INFO[0002] installing full qt/dbus
INFO[0003] installing full qt/nfc
INFO[0003] installing full qt/script
INFO[0003] installing full qt/sensors
INFO[0004] installing full qt/positioning
INFO[0004] installing full qt/widgets
INFO[0004] installing full qt/sql
INFO[0005] installing full qt/qml
INFO[0005] installing full qt/websockets
INFO[0006] installing full qt/xmlpatterns
INFO[0006] installing full qt/bluetooth
INFO[0006] installing full qt/webchannel
INFO[0007] installing full qt/svg
INFO[0007] installing full qt/multimedia
INFO[0007] installing full qt/quick
INFO[0008] installing full qt/help
INFO[0008] installing full qt/location
INFO[0009] installing full qt/scripttools
INFO[0009] installing full qt/uitools
INFO[0010] installing full qt/webengine
INFO[0010] installing full qt/testlib
INFO[0010] installing full qt/serialport
INFO[0011] installing full qt/serialbus
INFO[0011] installing full qt/printsupport
INFO[0011] installing full qt/designer
INFO[0012] installing full qt/scxml
INFO[0012] installing full qt/gamepad
INFO[0012] installing full qt/datavisualization
INFO[0012] installing full qt/charts
INFO[0013] installing full qt/quickcontrols2
INFO[0013] installing full qt/sailfish
INFO[0013] installing full qt/webview
WARN[0013] failed to install:
WARN[0013] androidextras
INFO[0013] running: 'qtsetup test linux' [docker=false] [vagrant=false]
INFO[0013] testing qml/application
WARN[0013] parser.LoadModule error=EOF module=WebView
WARN[0013] parser.LoadModule error=EOF module=Core
WARN[0013] parser.LoadModule error=EOF module=Multimedia
WARN[0013] parser.LoadModule error=EOF module=AndroidExtras
WARN[0013] parser.LoadModule error=EOF module=Quick
WARN[0013] parser.LoadModule error=EOF module=Gui
WARN[0013] parser.LoadModule error=EOF module=Network
WARN[0013] parser.LoadModule error=EOF module=Help
WARN[0013] parser.LoadModule error=EOF module=Xml
WARN[0013] parser.LoadModule error=EOF module=DBus
WARN[0013] parser.LoadModule error=EOF module=ScriptTools
WARN[0013] parser.LoadModule error=EOF module=Script
WARN[0013] parser.LoadModule error=EOF module=Positioning
WARN[0013] parser.LoadModule error=EOF module=UiTools
WARN[0013] parser.LoadModule error=EOF module=Widgets
WARN[0013] parser.LoadModule error=EOF module=Sql
WARN[0013] parser.LoadModule error=EOF module=Qml
WARN[0013] parser.LoadModule error=EOF module=WebEngine
WARN[0013] parser.LoadModule error=EOF module=WebSockets
WARN[0013] parser.LoadModule error=EOF module=XmlPatterns
WARN[0013] parser.LoadModule error=EOF module=TestLib
WARN[0013] parser.LoadModule error=EOF module=Bluetooth
WARN[0013] parser.LoadModule error=EOF module=WebChannel
WARN[0013] parser.LoadModule error=EOF module=SerialPort
WARN[0013] parser.LoadModule error=EOF module=Svg
WARN[0013] parser.LoadModule error=EOF module=SerialBus
WARN[0013] parser.LoadModule error=EOF module=Nfc
WARN[0013] parser.LoadModule error=EOF module=Location
WARN[0013] parser.LoadModule error=EOF module=Sensors
WARN[0013] parser.LoadModule error=EOF module=PrintSupport
WARN[0013] parser.LoadModule error=EOF module=Designer
WARN[0013] parser.LoadModule error=EOF module=Scxml
WARN[0013] parser.LoadModule error=EOF module=Gamepad
WARN[0013] parser.LoadModule error=EOF module=QuickControls2
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webview.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/webview/.qmake.stash
Project ERROR: Unknown module(s) in QT: webview
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/webview/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webview/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/scxml.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/scxml/.qmake.stash
Project ERROR: Unknown module(s) in QT: scxml
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/scxml/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/quickcontrols2.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/.qmake.stash
Project ERROR: Unknown module(s) in QT: quickcontrols2
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/quickcontrols2/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/webengine.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/webengine/.qmake.stash
Project ERROR: Unknown module(s) in QT: webengine webenginewidgets webenginecore
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/webengine/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/gamepad.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/gamepad/.qmake.stash
Project ERROR: Unknown module(s) in QT: gamepad
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/gamepad/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/serialbus.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/serialbus/.qmake.stash
Project ERROR: Unknown module(s) in QT: serialbus
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/serialbus/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/charts.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/charts/.qmake.stash
Project ERROR: Unknown module(s) in QT: charts
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/charts/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/charts/Mfile: no such file or directory"
ERRO[0014] failed to run command cmd="/usr/lib64/qt5/bin/qmake -o Mfile /home/robert/go/src/github.com/therecipe/qt/datavisualization.pro -spec linux-g++ CONFIG+=release" env= error="exit status 3" func=RunCmdOptional name="run qmake for linux on linux"
Info: creating stash file /home/robert/go/src/github.com/therecipe/qt/datavisualization/.qmake.stash
Project ERROR: Unknown module(s) in QT: datavisualization
ERRO[0014] failed to load /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile error="open /home/robert/go/src/github.com/therecipe/qt/datavisualization/Mfile: no such file or directory"
ERRO[0016] failed to run command cmd="go build -p 2 -v -ldflags=\"-s\" \"-w\" -o /home/robert/go/src/github.com/therecipe/qt/internal/examples/qml/application/deploy/linux/application -tags=\"minimal\"" env= error="exit status 2" func=RunCmd name="build for linux on linux"
github.com/therecipe/qt/core
github.com/therecipe/qt/gui
# github.com/therecipe/qt/gui
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c: In function ‘crosscall2’:
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:2:23: warning: unused parameter ‘fn’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:2:61: warning: unused parameter ‘a’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:2:68: warning: unused parameter ‘c’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:2:85: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c: In function ‘_cgo_release_context’:
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:4:41: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void _cgo_release_context(__SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c: In function ‘_cgo_allocate’:
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:6:26: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:6:33: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c: In function ‘_cgo_panic’:
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:7:23: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/gui/_obj/_cgo_main.c:7:30: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
# github.com/therecipe/qt/core
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c: In function ‘crosscall2’:
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:2:23: warning: unused parameter ‘fn’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:2:61: warning: unused parameter ‘a’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:2:68: warning: unused parameter ‘c’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:2:85: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c: In function ‘_cgo_release_context’:
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:4:41: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void _cgo_release_context(__SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c: In function ‘_cgo_allocate’:
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:6:26: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:6:33: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c: In function ‘_cgo_panic’:
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:7:23: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/core/_obj/_cgo_main.c:7:30: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
github.com/therecipe/qt/qml
# github.com/therecipe/qt/qml
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c: In function ‘crosscall2’:
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:2:23: warning: unused parameter ‘fn’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:2:61: warning: unused parameter ‘a’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:2:68: warning: unused parameter ‘c’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:2:85: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c: In function ‘_cgo_release_context’:
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:4:41: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void _cgo_release_context(__SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c: In function ‘_cgo_allocate’:
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:6:26: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:6:33: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c: In function ‘_cgo_panic’:
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:7:23: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/qml/_obj/_cgo_main.c:7:30: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
github.com/therecipe/qt/internal/examples/qml/application
# github.com/therecipe/qt/internal/examples/qml/application
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c: In function ‘crosscall2’:
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:2:23: warning: unused parameter ‘fn’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:2:61: warning: unused parameter ‘a’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:2:68: warning: unused parameter ‘c’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:2:85: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c: In function ‘_cgo_release_context’:
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:4:41: warning: unused parameter ‘ctxt’ [-Wunused-parameter]
void _cgo_release_context(__SIZE_TYPE__ ctxt) { }
^~~~
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c: In function ‘_cgo_allocate’:
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:6:26: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:6:33: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c: In function ‘_cgo_panic’:
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:7:23: warning: unused parameter ‘a’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
/tmp/go-build226565840/github.com/therecipe/qt/internal/examples/qml/application/_obj/_cgo_main.c:7:30: warning: unused parameter ‘c’ [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
# github.com/therecipe/qt/internal/examples/qml/application
./application.go:13: undefined: gui.NewQGuiApplication
./application.go:15: undefined: qml.NewQQmlApplicationEngine
./application.go:16: undefined: core.NewQUrl3
./application.go:18: undefined: gui.QGuiApplication_Exec
Have you set environment variable QT_PKG_CONFIG=true
? You might want to check the wiki.
@RadhiFadlillah I've tried, same errors when trying to build.
I had same errors, however I was able to fix them. Here are the steps (for Windows). Do not skip any of these steps
edit - see below for point 3 and 4 edit - i do realize the above complaints are for fedora, and my solution is for windows, but the root cause appears to be similar. your qt installation is not correctly referenced.
@rawsh You will need to install the Qt "doc" packages, as well.
(Sometimes they are called "doc-html" or similar)
These packages contain the *.index
files necessary to generate/setup this binding.
Will close this now, please reopen if it's still relevant
Does this need to be ran for each project that ends up having that issue? I know I ran this once before the other day when I first installed the bindings, which went through and was just fine. I still get the following though.
# github.com/therecipe/qt/core
core.cpp:9:10: fatal error: QAbstractAnimation: No such file or directory
#include <QAbstractAnimation>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
For giggles, I ran qtsetup again but when it gets to the tests, I get this now:
INFO[1108] testing widgets/textedit
ERRO[1108] failed to run command _func=RunCmd cmd="go list -mod=vendor -tags=\"\" -e -f {{join .TestImports \"|\"}}|{{join .XTestImports \"|\"}}|{{join .Deps \"|\"}}"
It then goes on to have a few dozen lines of other things and info.
@MostHated if you are using go modules, then yes you will probably need to run the setup for each project if you also want to make use of the -fast
flag or the plain go build
command.
and please open an issue about
INFO[1108] testing widgets/textedit
ERRO[1108] failed to run command _func=RunCmd cmd="go list -mod=vendor -tags=\"\" -e -f {{join .TestImports \"|\"}}|{{join .XTestImports \"|\"}}|{{join .Deps \"|\"}}"
if it's still relevant