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