Questions tagged [qt-vs-addin]

Qt VS Tools integrate the Qt development tools into Microsoft Visual Studio 2013, and later. This enables developers to use the standard Windows development environment without having to worry about Qt-related build steps or tools.

Qt VS Tools integrate the Qt development tools into Microsoft Visual Studio 2013, and later. This enables developers to use the standard Windows development environment without having to worry about Qt-related build steps or tools. An older version, called Qt Visual Studio Add-in, worked with Visual Studio 2008 upto Visual Studio 2013.

The main features of Qt VS Tools are:

  • Wizards for creating new Qt projects and classes.
  • Automated build setup for the Meta-Object Compiler (moc), User Interface Compiler (uic), and Resource Compiler (rcc).
  • Import and export of Qt project files (.pro) and project include files (.pri).
  • Automated conversion of a Qt VS Tools project to a qmake project, or the other way around.
  • Integrated Qt resource management.
  • Creating a Qt translation source (TS) file and starting Qt Linguist to translate the strings.
  • Integrated Qt documentation.
  • Debugging extensions for Qt data types.

A quick start guide can be found here.

38 questions
14
votes
4 answers

Qt VS Tools: error reading VS project settings

I develop an application using Visual Studio 2015 + Qt VS Tools extension. For me it's first time I used Qt (version 5.14.1) in my project. Everything was working fine until something wrong happened. I was asked to make release version of my…
8
votes
4 answers

Compiling Qt projects in Qt/MsBuild format without Qt VS Tools installed

I have many Qt projects in Visual Studio, using the new Qt/MsBuild format provided by the Qt VS Tools. When compiling in my development environment, where I have the Qt VS Tools installed, everything works flawlessly (compiling from IDE and from…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
6
votes
1 answer

QTDIR not found error building project in MSVC

Using MSVC 2008 SP1, and qt-vs-addin-1.1.2 I have a pre-existing project in MSVC that I have QT'ified: In main I added a QApplciation, and my windows are now all QWidgets. I added custom build steps for my .qrc and .ui files and "moc" as a custom…
Chris Becke
  • 34,244
  • 12
  • 79
  • 148
5
votes
1 answer

Does Qt Visual Studio Add-in support Visual Studio 2013 Community Edition?

As the title asks, does Qt Visual Studio Add-in support Visual Studio 2013 Community Edition or not? That is, can it be installed and integrated into VS2013 Community Edition? Asking because it doesn't support VS Express, and the Community Edition…
4
votes
1 answer

Visual Studio 2017 QT: No default QT version found

Working with Windows 7, installed VS 2017 community, Installed QT Visual Studio Tools, Downloaded QT: "qt-opensource-windows-x86-winrt-msvc2015-5.8.0" and added the path of winrt_x86_msvc2015 and winrt_x64_msvc2015. When i start a new project "QT…
Philipp
  • 41
  • 1
  • 2
3
votes
0 answers

Integrate Qt VS tools with vcpkg-installed qt

Platform: Visual Studio 2017 / Qt 5.11 / vcpkg 2018.10.20-nohash / Windows 10 1803 64 I have installed the qt5 library using vcpkg ./vcpkg install qt5:x64-windows Under ${vcpkg_root}/installed/x64-windows/tools, there are 6 sub-directories: qt5:…
zeralight
  • 620
  • 1
  • 5
  • 19
3
votes
1 answer

Qt + VS2010: moc: Too many input files specified

Trying to compile my simple Qt app in visual studio with the VS-addin for Qt, I receive the following error: 1>------ Rebuild All started: Project: XXXXXXXXXXXXX, Configuration: Release Win32 ------ 1>Build started 5/05/2012 6:57:33…
Emile Victor
  • 923
  • 1
  • 12
  • 22
2
votes
1 answer

QT - how to fix link error 2019 with qt VS tools

I'm trying to create a simple qt application in visual studio, I also made sure to install all qt components. Code: #include "QtWidgetsApplication2.h" #include #include #include…
Slava
  • 73
  • 5
2
votes
2 answers

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…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
2
votes
0 answers

Missing .qmake.stash file

Who creates .qmake.stash file? When is it created? I've been working with Qt in Visual Studio creating Windows applications for some years now but never had to care about this file. But now I have set up a cross compilation in Visual Studio using…
w.a.r.p
  • 29
  • 5
2
votes
0 answers

Visual Studio Qt Add-in errors about Qt versions that had been removed long ago

I have Visual Studio 2019 Professional Qt 5.15.1 & 6.0.0 beta for msvc 2019 Previous versions of Visual Studio were completely removed before installing VS 2019. That error Visual Studio shows when I open menu Extensions -> Qt VS Tools -> Qt…
Vladimir Bershov
  • 2,701
  • 2
  • 21
  • 51
2
votes
1 answer

Moc'ed file gets mysteriously excluded from Visual Studio project

I have several Visual Studio projects created with the Qt Visual Studio Tools (always the latest version available at the moment of the project creation, some dating from the first versions supporting Qt 5, now is the 2.2.1). All projects are…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
1
vote
1 answer

How to change where qtvars.vcxproj files are put in QT VS plugin

No matter what i do i can't get the folder qmake/temp to not appear in x64/Debug in my project folder. All other build files including qt, follow the visual studio Output Directory path specified in the project settings. This is only happening for…
nONSENCE
  • 56
  • 5
1
vote
0 answers

How to change qmake output path in QT VS Tools

My project's MSVS settings produce the following file tree: |- .vs |- Build-x64 // output dir |- Debug // $(Configuration) |- .inter // intermediate files |- MyApp |- x64 // Qt output dir ... |- source files -MyApp.sln I want to…
qloq
  • 689
  • 1
  • 5
  • 15
1
vote
0 answers

How could i add qt to my existing vs 2019 project

I tried add Qt to existing Visual Studio c++ project but I can't find "Convert project to Qt Add-in project" button nowhere. I added the keyword and the globals but when I right click the project qt doesn't appear. I use qt 6.2.2 and the latest qt…
Yunus Akat
  • 11
  • 1
1
2 3