View Full Version : Integrating UIPageViewController into a QWidget iOS app, with Qt 5.2
danipellex
17th December 2013, 15:45
Hello everybody,
i am not finding the right way to integrate a UIPageViewController (iOS native UI controller) into a QWidget app for iOS, which i have currently running on iPad2 with Qt 5.2.
Some clue to start with?
thank you
dani
anda_skoa
17th December 2013, 18:26
If that thing is a native window, then QWindow::fromWinId() might be capable of using it as a child window (if the plaform plugin has the ForeignWindow capability)
QWidget::createWindowContainer() could then be used to put that window in a widget scene.
Cheers,
_
danipellex
18th December 2013, 09:19
Thank you, anda_skoa
Now I check my explanation was not the best...
I dont want to have a native iOS window integrated with my QWidget iOS app.
What I want to do is to have a UIPageViewController as a QWidget container for my QWidget app, like a QStackedWidget or QTabWidget, I mean, to have that beautiful finger-sliding screens in my QWidget app.
No luck currently...
I am trying to have some .mm code in my Qt app, under OBJECTIVE_SOURCES in .pro file, and implement what i need (something like a QWidget inheriting a UIUIPageViewController or ViewController), by I dont have enough iOS API knowledge or objective-c language...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.