I am on a Kubuntu 11 system and am testing my first Qt Quick project. Since this is Kubuntu, I just work with Qt, which came with it, which so far has worked fine.
I asked Qt Creator to create a sample Hello World project from Qt Quick. But the design button was grayed out, as were the start buttons.
At first, when I entered the Projects menu under the Launch Options section, he said the Qt version: [Invalid Qt version]. Clicking the Qt Version Control button calls up the tree control, which looks like this:
v -- Auto-detected
| |
| +---Qt in PATH /usr/bin/qmake-qt4
|
+--- Manual
The bottom of the dialog box says "Qt version 4.7.2 found using mkspec linux-g ++ (Desktop)"
I found out that I can get the message "Invalid Qt Version" by manually installing QmlViewer from application repositories . You would think that he would say something more similar: "Qml Viewer was not found, please install it," but ... oh well. Now he says Qt Version: [Qt in PATH].
So this is fixed, and the Qml application starts up. But the Design button is still inactive. Qt Designer is installed as an application, and its plugin is displayed in the "About plugins ..." list. The design button is included in regular (not Qt-Quick) projects when I click on the form file, not the .qml files.
source
share