Registered Member
|
Hey Friends
How do you all get KDE Widgets with QT Creator ? Install KDE First and then QT Creator Or Install QT Creator and then install KDE ? Regards |
Global Moderator
|
Well *that* really shouldn't matter, There's probably some (-dev?) package you need to install, but I can't tell you which one unfortunately. Did you search around in apt a bit? Greetings, Sven
I'm working on the KDevelop IDE.
|
Administrator
|
The installation of the kdelibs development package should be sufficient to make KDE Widgets available in Qt Designer/Creator.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
and a whole 2 years later AFAIK it shouldn't matter even now HOWEVER
It seems that the kde widget plugins for designer do not work with >= 3.0.1 of Qt Creator and as far as i have been able to find out, you have to either 1: use a compatible version of qt creator (I'm using 2.8.1 for that) 2: use qt-designer in conjunction with qtcreator (which i think is counter-productive) 3: dont design using the gui, just code everything (this sucks because you have to promote from base objects which is even more counter-productive)... i suggest option 1 for now. There might be something I'm missing here because I'm not exactly an expert, I'm not sure but there is (somewhere) the source for the kde widgets, and if those get recompiled on the newer version they should work with the newer version. However, I've got the worst luck getting things to compile, it seems there's always some dependency problem that clashes with my current setup and makes it impossible for me to get a clean build... like i said i'm not an expert. Perhaps someone else can offer a little more insight to this since I've still had no headway with this (you'll notice in Qt Creator 3.0.1+ that the designer will give you info about plugins, and you get the 'plugin verification data mismatch' message, which of course means that the plugin is for an incompatible version of Qt creator/designer.. which lead to my analysis) Good Luck! PS: Qt Creator 3 is not really that much better to me than 2.8.1, so it doesnt bother me, so unless you must have those new features (the new [slow] language parser or whatnot) you wont be missing much. And i make it a point to recommend compiling gdb yourself since it really seems to work alot better when you do this (don't forget the python scripting support though!) |
Administrator
|
The component you need to recompile is called "kdewidgets" and is located in kdelibs. However it is based only upon Qt and KDELibs itself - so shouldn't need recompiling in this case.
Which Qt is your Qt Creator 3.0.1 built against? If it is built against Qt 5 then it won't be able to use the KDE Widgets integration.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I see what you are getting at, and i was recently made aware of it and of course now I know, however, I must wonder, are the KDE developers and KDE application developers going to be sticking to Qt4, or are these widgets being abandoned for Qt quick/qml, ive read in some project logs "porting to qml" some time ago, is that going to replace the forms-widget style of application design/development, much like when microsoft started pushing .NET and then WPF on the general population, however MFC still being updated in newer releases, last i checked (but that was a couple years ago i could be wrong now, dont keep up on MS stuff anymore)
|
Global Moderator
|
Neither. Widgets are ported to Qt5 and used there almost unchanged from their Qt4 counterparts. QML / QtQuick / QtQuick components serve the same purpose, but will only replace QtWidgets stuff over many years.
I'm working on the KDevelop IDE.
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]