Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Install Qt on Windows Subsystem for Linux?
Forum Updated to NodeBB v4.3 + New Features

Install Qt on Windows Subsystem for Linux?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 4 Posters 14.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stephenju
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Someone got Ubuntu Unity running. See here.

      However, I am not aware of any specific Qt build for the WSFL.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TioRoy
        wrote on last edited by
        #3

        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);
        alt text

        Or you can use the QtCreator on windows and use the subsystem to compile (via /mnt/c/......).

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bill_King
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved