Error building Qt5 for Windows 10 Ubuntu
-
I'm having difficulty installing Qt on my Windows 10 Ubuntu app (Ubuntu version 18.04.2 LTS).
I followed the instructions of "Building Qt5 from Git" but when that build didn't work, I tried a shadow build following these instructions: https://forum.qt.io/topic/98501/static-compile-error-qt5-12-0-bootstrap-private/9. I downloaded Qt5 from Git and was able to complete Step 2. In Step 3, I was able to complete all but the make command. When I ran make, the process terminated. I have printed the last few lines of output below:
cd qmake/ && ( test -e Makefile.qmake-aux || /home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release ) && make -f Makefile.qmake-aux
make[2]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
/home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release
make binary
make[3]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
make[3]: *** No rule to make target 'binary'. Stop.
make[3]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
Makefile.qmake-aux:1049: recipe for target '/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake' failed
make[2]: *** [/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake] Error 2
make[2]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
Makefile:125: recipe for target 'sub-qmake-qmake-aux-pro-make_first' failed
make[1]: *** [sub-qmake-qmake-aux-pro-make_first] Error 2
make[1]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase'
Makefile:86: recipe for target 'module-qtbase-make_first' failed
make: *** [module-qtbase-make_first] Error 2 -
@Brian-Biekman said in Error building Qt5 for Windows 10 Ubuntu:
Qt on my Windows 10 Ubuntu app
What does that mean? Do you want to cross compile? Or do you mean the Linux Subsystem in Windows 10?
Why do you compile Qt instead of simply install Qt using Qt Online Installer? -
I mean the Linux subsystem in Windows 10. But actually, I thought I had to compile Qt from source code to run the program it depends on but it turns out I don't. Can this be marked as solved?
-
@Brian-Biekman said in Error building Qt5 for Windows 10 Ubuntu:
Can this be marked as solved?
If it is solved then yes please mark it as solved (see "Topic Tools" button on the bottom)