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
0
votes
1 answer

MSBuild + Qt Vs Tool failed to include Qt on Jenkins

I am not able to build a Qt application using MSBUILD and Qt VS Tools on Jenkins. I have created a dummy Qt application using Visual Studio (new project -> Qt -> Qt Widget Application) (https://github.com/ThomArmax/dummy-qtvstool260-test-app) which…
Thom Armax
  • 147
  • 1
  • 11
0
votes
2 answers

Qt + VS2019 16.7.0: moc: Too many input files specified

After updating msvc to the 16.7.0 version my project build is break. I see the following error: 1> moc: Too many input files specified: 'D:\DevProj\C++\QtLib\src\QtLib\GUI\FramelessWindow.h' 'D:\DevProj\C++\ALib\src' 'D:\DevProj\C++\QtLib\src\'…
AeroSun
  • 2,401
  • 2
  • 23
  • 46
0
votes
0 answers

Visual Studio QT project MainForm.ui expected a declaration

I have a project in QT Creator and am trying to import it into Visual Studio 2019. I have solved all the issues except there is an error E0169 expected a declaration in mainwindow.ui. The problem with this error is that there is no highlighting of…
Pearl
  • 392
  • 2
  • 12
0
votes
1 answer

Qt Visual Studio Tools moc and qrc don't respect pre-build events

I'd like to use a script to build translations (convert from .ts to .qm, using Qt's lrelease.exe) before compiling the resource file (QRC) where they are included. In this way I know they are always updated, not to mention to avoid including binary…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
0
votes
1 answer

Qt, CMake and Visual Studio Behavior

I'm porting some of my Qt projects into CMake to make them more flexible across different IDE's. The only sad part with CMake, when I generate VS solution, it won't work amazingly as it works with the Qt VS Extension. For example if I change a .ui…
user7867434
0
votes
2 answers

Install qt-vs-addin-msvc2015-2.0.0-beta in Visual Studio 2015

I want to install the Qt addin for Visual Studio 2015. From the Qt site I've downloaded the file qt-vs-addin-msvc2015-2.0.0-beta, that's a zip file, but when I unzip it I've a bunch of files and folders and I don't know how to install it. How can I…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
0
votes
1 answer

Adding QT Form to an existing VS2008 project

I have a normal VS2008 project that I've been working on for awhile that is doing some OpenGL based stuff. The main window is created with GLUT and until now that has been sufficient for my GUI. Now, however, I want to add a small window of…
John
  • 2,012
  • 2
  • 21
  • 33
0
votes
2 answers

How to add additional .ui files in Qt VS Add-in

I have created a Qt Application project in Visual Studio. It generates one .ui file for the main window. What if I want to add another window?
user3235674
1 2
3