Unsolved How connect QT to "Empty Project"(C++) in VS15
-
The project is launched, but there are problems:
-I can not add a Q_OBJECT (LNK2001)
-when creating a form (ui) by a template ("Object reference not set to an instance of an object")
-
Hi and welcome to devnet,
What project ?
What IDE are you using ?
Where does the template come from ?
What version of Qt ? -
C++ Empty Project or Win32
(The general idea to manually connect Qt to project: include,lib,moc,etc)
(Now I cant setting for generate moc file)
IDE - Visual Studio 2015
qt-vs-addin-msvc2015-2.0.0
Qt5 -
@Alotas said in How connect QT to "Empty Project"(C++) in VS15:
The general idea to manually connect Qt to project
Is there a reason why you want to do it? Why not use QtCreator or Qt plug-in for Visual Studio?
-
@jsulm said in How connect QT to "Empty Project"(C++) in VS15:
Is there a reason why you want to do it? Why not use QtCreator or Qt plug-in for Visual Studio?
I need connect Qt to my main project