qt-vs-addin

How to solve the “no Qt platform plugin could be initialized” problem?

笑着哭i 提交于 2020-08-11 18:45:00
问题 I'm trying to run a simple template in release mode on Visual Studio with the Qt extension. So far I've always been running projects in debug mode (never had trouble). Recently, I started with a browser application using webengine its widgets, but it's very slow on debug mode, so. I wanted to make sure it's possible to run with higher performance (on release mode), before continuing. I was surprised, because the application throws 4 error message pop-ups after each other after trying to run

How to solve the “no Qt platform plugin could be initialized” problem?

故事扮演 提交于 2020-08-11 18:43:18
问题 I'm trying to run a simple template in release mode on Visual Studio with the Qt extension. So far I've always been running projects in debug mode (never had trouble). Recently, I started with a browser application using webengine its widgets, but it's very slow on debug mode, so. I wanted to make sure it's possible to run with higher performance (on release mode), before continuing. I was surprised, because the application throws 4 error message pop-ups after each other after trying to run

How to solve the “no Qt platform plugin could be initialized” problem?

久未见 提交于 2020-08-11 18:42:10
问题 I'm trying to run a simple template in release mode on Visual Studio with the Qt extension. So far I've always been running projects in debug mode (never had trouble). Recently, I started with a browser application using webengine its widgets, but it's very slow on debug mode, so. I wanted to make sure it's possible to run with higher performance (on release mode), before continuing. I was surprised, because the application throws 4 error message pop-ups after each other after trying to run

Syntax highlighter with selective attribute highlight - VS Addin

十年热恋 提交于 2019-12-11 06:55:31
问题 Is there any VS Adding for highlighting particular code block or attribute from whole code ? Thanks, Piyush 回答1: Yes, there is a thing which can help you - Visual Assist X addIn from http://www.wholetomato.com/. It has many features, including highlighting a symbol under cursor (if I understand your question correctly): 来源: https://stackoverflow.com/questions/2668071/syntax-highlighter-with-selective-attribute-highlight-vs-addin

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

眉间皱痕 提交于 2019-12-10 18:40:08
问题 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 command line). We have a computer dedicated to nightly builds, where only the compiler and msbuild are available (no IDE nor Qt VS Tools are installed). When compiling the projects in such computer we get an error: QtMsBuild: could not locate qt

QTDIR not found error building project in MSVC

旧时模样 提交于 2019-12-07 02:10:21
问题 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 build step on any Q_OBJECT header files. This all functions - the project builds and runs, and the variant on XCode works too. However my project still behaves differently to a project created using the Qt wizard :- Namely the Qt addin does NOT set

QTDIR not found error building project in MSVC

自作多情 提交于 2019-12-05 08:21:59
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 build step on any Q_OBJECT header files. This all functions - the project builds and runs, and the variant on XCode works too. However my project still behaves differently to a project created using the Qt wizard :- Namely the Qt addin does NOT set the QTDIR build variable. Nor does it offer any of the Qt configuration options on the project context

moc-ed files being excluded from build in Visual Studio 2010

南笙酒味 提交于 2019-12-02 10:20:21
问题 I have a VS2010 solution with couple of Qt-based projects. Every time when i modify files from one certain project, generated files (moc_*.cpp ones) changes its properties to be excluded from build. Checked all the available properties but couldn't find anything related to the issue (didn't tried to recreate the project from scratch though). Any chances to fix that? 回答1: There is a related question. First you have to check the MocDirectory in the Qt Project Settings. Originally, I set it to