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. Only basic components in QML designer

Only basic components in QML designer

Scheduled Pinned Locked Moved Qt Creator and other tools
11 Posts 6 Posters 5.6k 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.
  • K Offline
    K Offline
    kimf
    wrote on last edited by
    #1

    Hi

    For some time I have been trying to convert some of my projects from Maemo to Meego, until now without any success !

    The problem is that in the designer I only have the most basic components (QML components (main page), Basic, Positioners and Views tab) no buttons, switches or anything else.

    Interesting enough the editor knows of buttons etc. as it can list properties and methods, and (at least some) programs can compile and run on the device, but the designer still cannot find and /or display the components.

    This is the case for Symbian, Harmattan, Fremantle and desktop projects, as well as the sample projects.

    I have tried to follow the instructions in "Creating a Qt Application Using Qt Quick Components", also without any success, as the required components does not exist.

    I recently uninstalled the Nokia SDK, and installed it again in the hope that this would solve my problem, but to no awail, I get the same result.

    Some time ago I wrote to the "QML fora":http://developer.qt.nokia.com/forums/viewthread/11930 with this problem, as I thought it was a QML problem, but now I believe it is a problem with the designer.

    I'm using the latest version of Nokia SDK on the latest version of Ubuntu.

    Please can anyone help, this is getting tiresome !

    Kim

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

      Hi again

      Does anyone use the Qt creator QML designer ?

      Now I have tried to install the SDK on my w****** computer at work, with exactly the same result !

      No matter which example I open I only have the most basic components (that is mostly the QtWidgets), and never any device specific ones.

      Have anyone been able to use fx. any of the Harmattan switches, buttons or anything else in the designer ?

      If so, will you please tell me how you did, as I am unable to find them !

      Kim

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        By default those components are not installed.

        You should use the installer and select the components to be installed symbian, harmattan...

        After that you will have them in Qt quick.

        Qt Certified Specialist
        www.edalsolutions.be

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

          They are installed !

          But while testing, the creator got updated, and now I do have the missing components ;)

          But thanks for the help anyway.

          Kim

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

            It would seem I was too quick there.

            On the windows computer at work the components appeared when I updated the creator, but on my Ubuntu at home I had no such luck !

            I have tried to do a selective un-install and install of the Harmattan Qt quick components, to no avail :(

            1 Reply Last reply
            0
            • K Offline
              K Offline
              krambambulin
              wrote on last edited by
              #6

              I have the same problem: Meego Components appears only in Qt-Creator-Designer for Windows. On Qt-Creator for Linux64 (on Debian Testing) there is nothing.

              Is there a workaround?

              Daniel

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kwhitefoot
                wrote on last edited by
                #7

                Any news on this subject? I have the same problem on Ubuntu 10.04 LTS.

                If the designer won't work can someone point me to a list of components that can be used? I really don't want to have to design my UIs in Windows partly because I don't like the idea but mostly because I don't have a Windows machine except at work where I really don't have time for this.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  ThomasHartmann
                  wrote on last edited by
                  #8

                  This seems to be a packaging issue. The Meego Components were never officially supported in the Qt Quick Designer.

                  One solution would be to build Qt Creator and the Meego Components yourself based on a Qt 4.8.

                  Or you can build qmlpuppet based on a Qt version that has Meego Components available.
                  http://qt-project.org/forums/viewthread/19421/#95033

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kwhitefoot
                    wrote on last edited by
                    #9

                    [quote author="ThomasHartmann" date="1350894965"]This seems to be a packaging issue. The Meego Components were never officially supported in the Qt Quick Designer.[/quote]

                    Thanks for the suggestions.

                    But I am confused. Why should components like Button (for any platform) need any support in order for them to work in the designer. The designer doesn't do anything platform specific it just lets you lay things out on the screen and hook up events and connections between controls.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      ThomasHartmann
                      wrote on last edited by
                      #10

                      The components (and their C++ parts) have to be available. ;)

                      All the rendering is done by a process called qmlpuppet. By default a qmlpuppet shipped with Qt Creator is used. On Linux the installer/package is missing the Meego Components for this qmlpuppet.

                      If a Qt version if configured for a project the designer will lookup a qmlpuppet from this Qt version. But this only makes sense if the configured Qt and its qmlpuppet is compiled for the host platform (A Qt for cross compiling for Meego is not).

                      So basically you (or the installer) have to provide the Meego Components for the host platform.
                      Since the Meego Components have never been officially supported this was not done for Linux.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        john_god
                        wrote on last edited by
                        #11

                        Anyone got this working ? I really don't like coding buttons and other design stuff. Also it makes confuse that old Qt mojo "code once deploy every" doesnt seem to aply to qml ? We have symbian components, meego components, desktop components ? Shouldnt we have multiplataform components that work for all ?

                        [quote author="ThomasHartmann" date="1350894965"]This seems to be a packaging issue. The Meego Components were never officially supported in the Qt Quick Designer.

                        One solution would be to build Qt Creator and the Meego Components yourself based on a Qt 4.8.

                        Or you can build qmlpuppet based on a Qt version that has Meego Components available.
                        http://qt-project.org/forums/viewthread/19421/#95033[/quote]
                        If I correctly understood we should use the latest Qt and QtCreator sources and not the libraries ?

                        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