Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to install Qt 6 on WSL2 (Ubuntu)

    Installation and Deployment
    3
    4
    2544
    Loading More Posts
    • 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.
    • vishnu
      vishnu last edited by

      I am developing on visual studio ok windows but I have to cross compile my application for Linux so I used WSL2 . Without qt libs it compiles fine. But the moment I include qt libs in my CMake it fails. How to fix it ? Thanks for the help!

      I tried the following help but didn’t work for Qt 6.

      Re: WSL Qt Ubuntu?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        AFAIK, you should use the online installer to get a pre-built binary distribution.

        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 Reply Quote 0
        • D
          Dariusz last edited by

          Same question here too. Just starting to expand project in to Linux & Mac so I cover all 3 platforms. How can I install Qt6, is there apt install Qt6 or something like that ?
          I'm totally new to Linux learning commands now... sigh.

          SGaist 1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion @Dariusz last edited by

            @Dariusz hi, same answer: use the online installer.

            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 Reply Quote 0
            • First post
              Last post