This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Setting up QtCreator for use with KDE Framework and Kirigami

Tags: None
(comma "," separated)
bamarc
Registered Member
Posts
1
Karma
0
Hello,
i'm trying to set up QtCreator, especially the QML Designer, to work with KF5 and Kirigami.

I'm at a point where I can compile and run the Kirigami Examples but the QML support doesn't seem to be working at all.
The code completion does not show most of the available components and the syntax highlighting shows non-existent errors. The designer does not recognize the new controls an only shows a blank screen.

Sadly i did not find any complete tutorial on how to set it up correctly.

I'm testing using the kirigami template created by KAppTemplate and set up the QML_IMPORT_PATH using this stackoverflow answer https://stackoverflow.com/questions/34369967/how-to-use-qml-import-path-with-qt-cmake-project/38266179#38266179.

Using KDevelop does have code completion but doesn't seem to have any qml preview features beside compiling and running the application.

If it is not possible to setup, is there any other way to get a live preview of my qml files?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]