Unsolved Install Qt on Windows Subsystem for Linux?
-
With the recent Windows 10 Anniversary Update, I am able to get Windows Subsystem for Linux working and with Xming, GUI apps like Firefox are working too.
I'd like to have Qt Creator running in the same setup so I can build Linux apps without a VM. Before I start I just want to know if anyone already has any experience with it, or foresees any issues.
Thanks.
-
Hi,
Someone got Ubuntu Unity running. See here.
However, I am not aware of any specific Qt build for the WSFL.
-
In my tests, you cannot call a linux executable from Win32, and vice-versa. The subsystem is like another machine.
You can use the QtCreator from the subsystem (you can install via installer for Linux);
Or you can use the QtCreator on windows and use the subsystem to compile (via /mnt/c/......).
-
So, it seems it's broken a bit past that. shm allocation fails:
[541539] Warning: QXcbShmImage: shmget() failed (38: Function not implemented) for size 326000 (500x163)Also:
bilking@4DEDBILKING2:~$ [419804] Warning: Cannot get any query output from executable: '/home/bilking/Qt/5.8/gcc_64/bin/qmake'
bilking@4DEDBILKING2:~$ [430373] Warning: QProcess: Destroyed while process ("/home/bilking/Qt/5.8/gcc_64/bin/qmake") is still running.Hand testing qmake, it seems to run fine, so I'm not sure where the QProcess is failing.
bilking@4DEDBILKING2:~$ /home/bilking/Qt/5.8/gcc_64/bin/qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/home/qt/work/install
QT_INSTALL_ARCHDATA:/home/qt/work/install
QT_INSTALL_DATA:/home/qt/work/install
QT_INSTALL_DOCS:/home/qt/work/install/doc
QT_INSTALL_HEADERS:/home/qt/work/install/include
QT_INSTALL_LIBS:/home/qt/work/install/lib
QT_INSTALL_LIBEXECS:/home/qt/work/install/libexec
QT_INSTALL_BINS:/home/qt/work/install/bin
QT_INSTALL_TESTS:/home/qt/work/install/tests
QT_INSTALL_PLUGINS:/home/qt/work/install/plugins
QT_INSTALL_IMPORTS:/home/qt/work/install/imports
QT_INSTALL_QML:/home/qt/work/install/qml
QT_INSTALL_TRANSLATIONS:/home/qt/work/install/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/home/qt/work/install/examples
QT_INSTALL_DEMOS:/home/qt/work/install/examples
QT_HOST_PREFIX:/home/qt/work/install
QT_HOST_DATA:/home/qt/work/install
QT_HOST_BINS:/home/qt/work/install/bin
QT_HOST_LIBS:/home/qt/work/install/lib
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.8.0