Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Missing QML components
QtWS25 Last Chance

Missing QML components

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 3.5k Views
  • 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.
  • K Offline
    K Offline
    kimf
    wrote on last edited by
    #1

    Hi

    I'm trying to convert a Fremantel QWidget application to Harmattan QT Quick, but in the designer (in creator) I only have Basic, Positioners and Views tab !

    Shouldn't there be some components such as buttons etc ?

    I get the same result if I try to design for desktop or symbian !

    I'm using Ubuntu 11.10, and latest update of the SDK.

    Kim

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

      is it possible to share the part of code which imports other components? maybe there's different between accessing paths on OS.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kimf
        wrote on last edited by
        #3

        Hi

        This very simple code shows the problem :

        @import QtQuick 1.1
        import com.nokia.meego 1.0
        import QtQuick 1.0

        Page {
        id: page1
        tools: commonTools

        Button { id: button1; anchors.horizontalCenter: 
            parent.horizontalCenter; anchors.verticalCenter: 
            parent.verticalCenter}
        

        }@

        Button is known in the editor (it can list the properties), but when I open the designer I get the following :

        http://lpws.mine.nu/QTDesigner.png

        As shown here I only have the component pages basic, positioner and views, none of them contains a button.

        When I select button1 (as in this image) nothing is shown, this goes for all components, even those listed in the library section (some does show a blue rectangle where they should be).

        When I run the program in the simulator I do get an empty button centered on the display !

        Hope someone can help.

        Kim

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kimf
          wrote on last edited by
          #4

          Hi again

          After some tests, it semes as if qt-creator cannot find Qt.labs.components (imported in Button.qml), while the compiler can !

          Any idea why ?

          Kim

          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