I have been developing with Qt Creator for Windows and mainly working with Databases and therefore QtSql is inevitable. But I decided to dive into android and I need to connect to remote server and I have a need to create drivers for android and it is a very big hurdle for me as few materials are available. The Tutorial here https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android: seem to be deprecated and/or working for Linux platform. Has any one managed to build MySQL/MariaDB drivers successfully on Windows? Please, help me if possible!
Related
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.
I'm about to deploy an app which has been developed using OpenCL and Nvidia's CUDA toolkit. For app to work correctly on my PC (where I have compiled and tested the app), I need OpenCL.dll. It is located in Windows folder. Do I need to provide a copy of this file when deploying my app to a user which is using a different PC with, possibly, a different graphics card ?
No - if the GPU supports OpenCL, then OpenCL.dll will have been installed along with the GPU driver.
I understand that there is no NaCl SDK support for ARM platform so far. I am right now developing applications for ARM on Ubuntu. Is there a way I can test the applications on ARM machines without using SDK?. As far as I understand from Native Client website, we need SDK to start the server to test the applications. Does any one have experience on this?
You can develop your application on an x86 machine, and use the SDK's compilers to target NaCl ARM. This is commonly called cross-compiling. You then copy files over to the ARM machine that you want to test with, or use QEMU (to emulate ARM's ISA on an x86 machine).
It's possible to build a NaCl SDK from source for ARM, it's simply not distributed by the SDK team because there hasn't been demand for this.
You're trying to test in a browser? The server is there to serve content to a browser, but I've often found it simpler to use python -m SimpleHTTPServer.
I have developed a custom media player that works on Windows 7. I used QMediaPlayer, QVideoWidget and QMediaPlaylist classes. I need to port the app to Linux. Do these classes also exist for Linux? Do they come automatically when installing Qt?
I tried copying the project to my Linux partition and recompiling but it can not find the headers.
Check weather the major version of Qt is the same on both platforms.
Seeing your description, I believe you are using an older version of Qt on the Linux machine as compared to the Windows machine.
Hope this helps.
I'm developing a C# Window8 / WinRT app and I'm using SQLite-NET with the sqlite3.dll linked at the bottom of the documentation at
https://github.com/praeclarum/sqlite-net
My project works fine on my computer, but since sqlite is a non-managed DLL, I wonder what's going to happen when I deploy my app to the app store and someone with an ARM cpu tries to run it. Is it going work? If not, how can I make it work?
Thanks,
Adrian
No, it's not going to work. You cannot choose a neutral architecture (Any CPU) when there is a C++ component involved. You will have to compile your SQLite DLL into ARM in order for you to have an ARM version. If you have a native component, you will submit multiple versions for the Store and the customer will download the correct version for their architecture.
Good blog post on Windows on the ARM architecture.
The only thing I know is that Microsoft is working with guys from SQLLite and is now officially supported