delete this icons.qrc file. As I can see you don't need this at all.
Do you have "CONFIG += designer plugin" in your .pro file (read Custom Widget Plugin Example in Qt Assistant)? Do you have QTDIR envirnoment variable set? Check if Qt include paths and libs are set in Visual Studio project properties.and executed in cmd: qmake -tp vc
this is now succesful and the VC++ Project File is generated.
after opening the vc++ project file, the vc++ project opens in VC2008,
but,...............the project in vc++ lists additionally the following files moc_testcustom.cpp, moc_testcustompluginand.cpp qrc_icons.cpp.
these files are not generated by qmake -tp vc.
i deleted all the moc_XXX and qrc_XXX files in the project.
compiling the vc++ project fails with "fatal error C1083: Datei (Include) kann nicht geöffnet werden: (--> could not open include file) "QDesignerCustomWidgetInterface": No such file or directory"
perhaps the qt library is not part of VC2008.
so, any ideas????
moc_xxx files are generated by MOC - meta-object compiler - tool which is a part of Qt.
But surely your previous error from 3b. was cause by wrong mkspec. Remove all files which are not needed (left only .h .cpp .pro) and rerun qmake. If the error still exists delete Makefiles and type:
And I've already told you to read about spec (QMAKESPEC) in Qt Assistant. If you would read it then you would know that this:Qt Code:
qmake -spec win32-msvc2008To copy to clipboard, switch view to plain text mode
is used with MinGW under Windows..../qt/mkspecs/win32-g++/...
Bookmarks