Results 1 to 4 of 4

Thread: Problem using QtQuick components for desktop

  1. #1
    Join Date
    Jul 2009
    Posts
    21
    Thanks
    1

    Default 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.

  2. #2
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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

  3. #3
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default 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 :
    Qt Code:
    1. 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"
    2. import QtDesktop 0.1
    To copy to clipboard, switch view to plain text mode 
    Impossible = I'mpossible

  4. #4
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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

Similar Threads

  1. Using QML Components for the Desktop with PySide
    By hansotronic in forum Qt Quick
    Replies: 2
    Last Post: 30th October 2012, 00:49
  2. Replies: 2
    Last Post: 25th April 2012, 10:29
  3. QtCreator and Desktop Components
    By Splashy in forum Qt Quick
    Replies: 6
    Last Post: 24th March 2012, 00:43
  4. Replies: 2
    Last Post: 16th March 2012, 14:22
  5. Replies: 0
    Last Post: 26th February 2012, 16:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.