Using native Windows or OSX dialog from Qt 5.3 application - qt

I have an application running on Windows and OSX that I am considering porting to Qt.
Currently the application uses the native certificate detail dialogs CryptUIDlgViewCertificate on Windows and SFCertificatePanel on OSX.
Is there any way I can these native dialogs from a Qt application or will I need to roll my own Qt certificate details dialog?
I found QWinHost as a possible solution for Windows, but this seems to have been dropped from Qt5.

Related

Is Windows-10-Qt-quick-QML code cross-compatible with IOS

If I am developing an application using Qt quick QML on windows 10, can I deploy my project and test it on an ios device? I have read this post Developing iOS app on Windows but it seems to be somewhat in conflict with what I have read. The chosen answer in that question says that you need a macOS to develop IOS applications. Qt's documentation and other posts have said that you can port applications onto various platforms with the same code "Code once, deploy everywhere". So will I be able to actively test my qt quick QML code on an ios device from a Windows 10 development platform?
No, you can't. You need either macOS computer or virtual machine with this system.

Submit Qt based app on Windows App

I have already created Qt based application which uses some third-party open source library like OpenCV, I have looked Windows Dev Center and seems the all the reference is using Visual Studios and other Windows tool. I have created my App using Qt creator. Is it possible to submit such an application on Windows App store?
Any help will be appreciated,
Thanks
Haris
Bad news: Microsoft does not support Win32 apps on AppStore yet (but it has been announced, currently under development as "Project Centennial"). It looks like an "old-school" desktop applications cannot be submitted to the Windows App store.
Good news: Qt has support for WinRT (complete in Qt 5.6 which is currently in Beta and will be released in a few weeks). And qmake can generate a Visual Studio solution from your project (in case you need it for deployment or debugging; VS Community edition is free).
Qt WinRT tutorial: http://doc.qt.io/qt-5/winrt-support.html
OpenCV in WinRT: https://msopentech.com/blog/2014/03/20/easily-build-opencv-powered-apps-for-windows-store/

Application built by Qt for WinRT running slower than Qt for Android on same Windows 8.1 host

I'm using Qt 5.4.1 (for WinRT and Android) on same windows 8.1 host and project using GUI (such as QListView). I see the application running on Windows runtime (built by Qt creator for both WinRT and Android) very different in terms of performance (WinRT build is slower than the Android one about 2-3 times).
How can I solve this? Thanks!
P.S.: I'm trying to use QListView (deploying to windows phone 8.1) and QScroller but is not as fast as listview in Windows phone (Maybe something's not optimized because app running in windows 8.1 (target = host) is slow too).

Is porting QML based app easy to Windows Phone?

On the qt-project web-site there're available sources as for porting QML to iOS, Android.
http://qt-project.org/doc/qt-5/portingtoandroid.html
http://qt-project.org/doc/qt-5/porting-to-ios.html
It appears to be easy.
Is it so for Windows Phone as well?
Is it so for any other platform?
Qt Project has a Qt for WinRT tutorial providing a step-by-step process to build applications for Windows 8 based devices. Basically to resume the tutorial :
You need the appropriate windows runtime
You may have to build Qt from source for that runtime library
You develop and compile Qt as you would do for a desktop app
You have an additional step for packaging the application.

Qt creator can not create windows app

When installed QT creator on my Ubuntu I was able to create simple console app gui app and so on .
But when I installed it on my windows , and trying to create a project QT asks for
target :
Symbian,
Qt simulator,
Harmattan
But I need a simple win console app.
What im doing wrong ?.
Are you sure you installed the correct version of the Qt SDK? There used to be a separate "Nokia Qt SDK" which only contained the libraries for the mobile targets.
This link should always point you to the latest installer for the complete Windows SDK.

Resources