mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

question: compiling using visual studio #4111

pixel-art-girl posted onGitHub

Hi

Can you explain where to download Qbs and how to install it in order to compile with visual studio?

afbeelding

Is it possible to update it so we can use visual studio 2022? Visual studio 2017 is incredibly not up to date anymore...


Can you explain where to download Qbs

Since you also need Qt to compile Tiled, I would recommend you use the Qt Online Installer. It always installs Qt Creator, which ships with a qbs.exe. But if you are installing Qt some other way, you can install Qbs also using Chocolatey (choco install qbs).

When you use the Qt Online Installer and want to use Visual Studio 2022 to compile Tiled, you need to make sure to choose a Qt version that is compatible with this compiler.

Is it possible to update it so we can use visual studio 2022? Visual studio 2017 is incredibly not up to date anymore...

Yes, you can also use Qbs to generate a VS 2022 project:

qbs generate -g visualstudio2022

Just note that I don't normally work with Visual Studio, so these generated projects are untested.

posted by bjorn 5 months ago

When you use the Qt Online Installer and want to use Visual Studio 2022 to compile Tiled, you need to make sure to choose a Qt version that is compatible with this compiler.

How I know which version this is?

posted by pixel-art-girl 5 months ago

How I know which version this is?

Can you show a screenshot of the available options?

posted by bjorn 5 months ago

How I know which version this is?

Can you show a screenshot of the available options?

I found it! You need to select custom installation and then MSVC 2022 64-bit . Maybe this should be added to the documentation?

posted by pixel-art-girl 5 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests