Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 2.5 + KDE
Forum Updated to NodeBB v4.3 + New Features

QtCreator 2.5 + KDE

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    netfalo
    wrote on last edited by
    #1

    Hy

    I'm quite new to Qt. Now I try to build a widget for KDE and I would like to use some components provided by KDE.

    1. So I made a Qt Quick UI project in QtCreator.
    2. Added " importPaths: [ "/usr/lib64/kde4/imports/org/kde/plasma/components/" ] " line to my .qmlproject file
    3. I tried to add " import org.kde.plasma.components 0.1 as Components " line to my .qml file.
      I also tried with " import org.kde.plasma.components.Button 0.1 as Button "
      But everytime I got an error message, that "QML module not found", however "/usr/lib64/kde4/imports/org/kde/plasma/components/" contains the qmldir file and the .qml file of components.

    I spent my last few days googling around and browsing doc.qt.nokia.com, but I didn't find helpful information for my case.

    I'm using QtCreator 2.5 with Qt 4.8.2 on openSUSE 12.1 with KDE 4.8.4

    thanks in advace

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved