Results 1 to 9 of 9

Thread: Qt5 and Visual Studion 2022

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt5 and Visual Studion 2022

    The distribution I have is for Qt 5.14.2. I got that when I was a Qt Commercial subscriber, so I downloaded the pre-compiled distribution. Since Qt changed their policies on commercial subscriptions, I dropped that and now use Qt5 under LGPL terms. I haven't needed to build Qt from source.

    There is a qt.pro file which will build the whole library, I think. You should be able to open this in QtCreator, set your kits to the VS 2022 compiler, and then build it. Alternatively, you should be able to open the .pro file in VS 2022 itself if you have installed the Qt Visual Studio Tools.

    I have VS 2022 and the VS Qt tools, so I will try the build now and let you know what happens.

    Edit: Also keep in mind that Qt built against VS 2015 is completely binary compatible with one built against VS 2022, and that is how I am using it. So if you can D/L a pre-compiled binary for VS 2015, use it.

    Further edit: After 6 hours of waiting for Visual Studio to finish "creating solution from .pro file" I killed it. Not the way to go. Tomorrow I will try it from QtCreator with a VS 2022 kit.
    Last edited by d_stranz; 7th March 2023 at 04:00.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  2. The following user says thank you to d_stranz for this useful post:

    bleriot13 (8th March 2023)

Similar Threads

  1. Replies: 2
    Last Post: 5th March 2021, 22:57
  2. Using Qt 5.4.1 Visual Studio 2013 libs in Visual Studio 2010
    By ^NyAw^ in forum Installation and Deployment
    Replies: 0
    Last Post: 6th March 2015, 10:20
  3. ms visual c++ compile without ms visual studio
    By zzz9 in forum General Programming
    Replies: 2
    Last Post: 12th August 2012, 20:29
  4. How to find if Visual Studion 2008 installed
    By sawerset in forum Newbie
    Replies: 1
    Last Post: 7th December 2008, 18:28
  5. qt in Visual Studion
    By sanjayk in forum Qt Programming
    Replies: 2
    Last Post: 25th November 2008, 09:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.