[Qt-creator] Can't compile standard (from template) plugin

Thomas Meyer public at meyer-thomas.com
Thu Jul 18 10:09:38 CEST 2013


Hi,
I have downloaded Qt Creator 2.8.0 src (release) and compiled successful.

I have then created a new example plugin (I have tried to compile my 
older plugins
with 2.8.0 and it fails and for better explanation, I have created a 
simple project).
The plugin information (standard):
MyPlugin
and
C:\Qt\qt-creator-2.8.0-src
C:\Qt\build-qtcreator_2_8_0_release-Desktop_Qt_5_1_0_MSVC2010_32bit-Release

After loading the project I can see, that there are the typical Qt 
Creator folders are missing.
There are only 2 folders with the .pri files:
qtcreator
qtcreatorplugin (with the pluginspec)

If I compile the project, I get the following message:
C:\Qt\qt-creator-2.8.0-src\src\qtcreatorplugin.pri:1:
error:
WARNING: Include file 
D:/QtCreatorPlugins/Example/Example_dependencies.pri not found
and "points" to the first row in qtcreatorplugin.pri:
include($$replace(_PRO_FILE_PWD_,([^/]+$),\\1/\\1_dependencies.pri))

The plugin project folder D:\QtCreatorPlugins\Example:
MyPlugin.pluginspec.in
myplugin.pro
myplugin_dependencies.pri
myplugin_global.h
mypluginconstants.h
mypluginplugin.cpp
mypluginplugin.h

So I think, the 1 in 1_dependencies.pri points to the project name and 
not to the
plugin name.
What can I do?
Have I something forgotten?

Thanks,
Thomas Meyer





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130718/1b9f9c21/attachment.html>


More information about the Qt-creator mailing list