Unsolved Migration GTK2
-
@Jewest Sorry, I don't know. Never used GTK+ and never ported a GTK+ app to Qt :-)
-
@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.
-
Hi
While both are xml and seems to be very similar , i never saw any mention of Creator/Qt being able to read
GTKbuilder xml files.
However the class names would not mach anyway. -
@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 ? -
@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 ?
-
@J.Hilk
ok so StackedWidget or tabWidget will not just do it.
It must be hand programmed anyway ? -
@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. -
@J.Hilk
Well if there are for Widgets, i never saw any mention of it so
i think you time was well spend :)