Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot add qt version to qt visual studio plugin

I'm using Visual studio 2019 and I've added the Qt Visual Studio Tools plugin from the "Manage Extensions" window. I've installed the latest version 2.7.2.2.

When I try to add a Qt version, in Options->Qt->Versions, I'm able to add the Qt that I've installed (that I use with CMake etc, so I know that's working), and I save it.

enter image description here

When I save, close and reopen the same window, the version disappears, like the plugin is not able to save the configuration.

I'm not able to find any logs that tell me what did wrong, so:

  • Where can I find logs for checking the error when trying to add the Qt version?
  • Where the configuration should be stored?

If I know where the data are stored, I can try to add the configuration manually instead of using the GUI, hoping that it will fix the problem.

like image 610
Jepessen Avatar asked Jul 10 '26 10:07

Jepessen


1 Answers

i came across the same error. Then if you look at the 'output' of VS when you click ok after setting the QT version, you may see the same error message saying that qt license is not found. Try download the license file from QT, rename it as .qt-license, and put it under c:/Users//

like image 199
run run chicken Avatar answered Jul 14 '26 15:07

run run chicken



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!