Problem using QtQuick components for desktop
I tried to install QtQuick desktop components with QT-4.8.1 and can't get them to work, or rather, I can run example just fine, but I cannot modify it, or use desktop components in my own applications.
Every time I try to import the "QtDesktop 0.1", i get "QML module does not contain information about components contain in plugin"... is there something more beside "make install" that need to be done in order to use the components?
Thanks for the answers.
Best regards.
Re: Problem using QtQuick components for desktop
have you compiled the plugin in say debug and try to use it in release ? or something like that
Re: Problem using QtQuick components for desktop
I have the same problem despite I have both styleplugin.lib and styleplugind.lib in my plugin directory. I got this error :
Code:
plugin cannot be loaded for module "QtDesktop": The plugin 'C:/Qt/4.8.1/imports/QtDesktop/plugin/styleplugin.dll' uses incompatible Qt library. Expected build key "Windows msvc release full-config", got "Windows msvc debug full-config"
import QtDesktop 0.1
Re: Problem using QtQuick components for desktop
that s exactly what i had, both dll are in debug
open the project file with qtcreator and build the project from there
then replace the files
you re good to go