Migration GTK2
-
Hello,
I am currently trying to determine if a change to QT4.8 is an option for me.
My current situation:
Application based on GTK2 with GTKbuilder XML files for the views.What do I need?
Swipe support and this is not possible under GTK2.What am i looking for?
An estimation / possibility to transfer my current code to QT 4.8 without having to redo all the work.
(Is there a GTKbuilder to QT designer importer? I could not find it)I need to make an estimation to my manager about a possible transfer and the cost.
Best regards,
Jewest
-
@jsulm because buildroot 2013.2 does not support 5.x.
And migrating buildroot + custom build packages takes too much time.
(Migrating buildroot also gives me the option to use GTK 3 / 4)Doing both will be a too big investment at this time just for swipe support.
-
@Jewest Maybe this can help: https://wiki.lxde.org/en/Migrate_from_GTK%2B_to_Qt
-
hi
What kind of swipe support in 4.8 ?
Like this ?
http://doc.qt.io/archives/qt-4.8/qswipegesture.html#detailsI just wonder if 4.8 will be good enough.
-
@mrjj The current request from the sales department is to add a simple swipe to the next page function. why do you think this 4.8 will not be good enough? the function is present since 4.6 so I would assume that basic swiping is handled correctly.
-
@mrjj said in Migration GTK2:
@Jewest
Well nowadays, swiping is mostly QML
So while 4.8 can detect a swipe gesture, im just wondering how/what widget that can actually swipe
in 4.8 ?QPropertyAnimation is part of QT since 4.6. Therefore any/all, if you really want to/have the time to do it ?
-
@mrjj The detection of the swipe is good enough. so I guess 4.8 will be good enough for me.
Biggest problem at the moment is the 60 views that I currently have. So importing or converting the files will make my life a lot easier. (and easier to sell to my manager(cost)). -
@mrjj The QML counterparts do it by default, at least in Qt5. QStackWidget in general doesn't do that right?
I spend a good amount of time this year to make an animated QStackWidget transition between two/any QWidgets. I really hope I didn't reinvent the wheel here... -
@Jewest
Hi
I would recreate one "view" in Qt and compare the
GTK ui with the QT ui and see
if a converter would be easy to write. ( maybe its only like map of 20 classnames)
Im not into GTK but it seems to call them UI file too
so before making an estimate i would have a small test of
getting one GTK UI into Qt.