On Aug 4, 2011, at 12:09 PM, ext Konstantin Tokarev wrote:

> Hi all,
> 
> I have a plugin which depends on several plugins included into Qt Creator:
> 
>    <dependencyList>
>        <dependency name=\"TextEditor\" version=\"$$QTCREATOR_VERSION\"/>
>        <dependency name=\"ProjectExplorer\" version=\"$$QTCREATOR_VERSION\"/>
>        <dependency name=\"CppTools\" version=\"$$QTCREATOR_VERSION\"/>
>        <dependency name=\"Designer\" version=\"$$QTCREATOR_VERSION\" 
> type=\"optional\"/>
>    </dependencyList>
> 
> I've compiled plugin against version 2.2.83, than updated Qt Creator 2.3 
> branch from git and got
> 2.2.84 version of all plugins. My plugin failed to load because it could not 
> find 2.2.83 version of
> dependencies.
> 
> Is it possible to make plugin loading with any snapshot of 2.3?

Running qmake on your plugin should update your pluginspec and replace the 
$$QTCREATOR_VERSION with the new version number.
Otherwise, no. The version number + compatVersion number of the plugins you 
depend on define the compatibility of these plugins, which at the moment is 
just a single fixed version.

I hope you know what you do, with the "optional" dependency on the Designer 
plugin :)

Br,
-- 
Eike Ziller
Principal Software Engineer

Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to