简体   繁体   中英

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.

在此处输入图片说明

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.

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//

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM