Qt 5.1 Beta Released

Published Tuesday May 14th, 2013 | by

I am happy to announce that we have today released Qt 5.1 Beta. We are now a major step closer to release Qt 5.1.0, which is expected before the summer. With the Beta release, binary installers for Qt 5.1 are available making it easier for you to get started with Qt. Let’s take a quick look at what is in the package.

Key functionality

The main driver for Qt 5.1 has been to increase the maturity of the new features introduced with Qt 5.0. We have improved the functionality and performance based on the feedback received from real-world use cases of Qt 5.0 and porting applications from Qt 4.x. We are able to meet your needs with Qt 5 because of the feedback and contributions from our growing ecosystem of about 500,000 developers in over 70 industries using Qt on numerous platforms and configurations.

The key new features of Qt 5.1 Beta include:

  • Qt Quick Controls module providing a set of reusable UI components especially for desktop applications created with Qt Quick
  • Qt Quick Layouts module bringing an easier, more intuitive, way to manage scalable UIs by ensuring that items are consistently arranged, and that the UI as a whole remains usable across different screen sizes.
  • Qt Serial Port module providing a cross-platform interface for using hardware and virtual serial ports in Qt applications
  • Possibility to use Qt Quick and Widgets together in the same application window
  • Qt Creator 2.7.1 bundled into the package, providing, for example, Qt Quick Designer for rapid prototyping, as well as improved C++11 code editing
  • Support for static Qt builds making it possible to address those use cases that cannot use dynamic linking
  • Introducing Qt Sensors as an officially supported module

For a more detailed look, please take a look to the Wiki article listing the new features of Qt 5.1 Beta, refer to the Qt 5.1 Documentation Snapshot as well as the Known Issues page in the wiki.

Binary installers

For most users the big thing with Qt 5.1 Beta compared to Qt 5.1 Alpha is binary installers that provide a convenient way of installing all you need to start developing with Qt without needing to build Qt yourself. With Qt 5.1 we are introducing some new configurations such as 64bit VS2012 with OpenGL, which is already available with the Beta. Soon after the Beta we are upgrading MinGW to version 4.8 and aim to bring also 32bit VS2012 with ANGLE configuration by the time we are releasing Qt 5.1.0.

Qt 5.1 Beta comes as an offline installer, but we will also be providing online installers before the release of Qt 5.1.0 final. The offline installer contains all you need to get started with Qt – tools, documentation, examples and pre-built Qt libraries. Source packages are available for those who wish to build Qt (or need to use a configuration that is not available as a pre-built binary). In addition to the desktop binaries, Qt 5.1 Beta comes with pre-built binaries for Android that can be bundled in with your application.

New platforms

Qt 5.1 Beta provides technology-preview level implementation of the new Android and iOS ports. In addition, Qt 5.1.0 final is planned to re-introduce Windows Embedded Compact 7 support that has earlier been available with Qt 4.8. We have added all these new platforms into the CI system so that each change that goes into Qt is verified to work on these as well as the other platforms and configurations already in the CI. At the moment, the CI for Android and iOS only tests for building, but we are gradually also adding the automated tests to be run on these new platforms, to decrease the possibility of regressions.

There is quite a lot of buzz around the new mobile ports and many are interested in knowing what is possible already with the Qt 5.1 Beta. In general, it can be stated that you can create stunning applications that run smoothly on both of the new platforms, but with limitations in supported functionality and the developer experience of getting your masterpiece into these devices.

With Android the following functionality works quite well in the Qt 5.1 Beta:

  • Widgets, Graphics View, Qt Quick 1 and Qt Quick 2 applications
  • OpenGL, networking and other core functionalities of Qt
  • Some parts of Qt Multimedia, for example QML media player
  • A set of commonly used sensors with Qt Sensors
  • Deploying your application to a device from Qt Creator
  • Debugging your application from Qt Creator
  • Qt 5.1 Beta comes with pre-built binaries for Android that can be bundled in with your application

With iOS the main issue is Qt Quick 2 not being available, as it needs a new QML engine, but the following functionality works quite well in the Qt 5.1 Beta:

  • Widgets, Graphics View and Qt Quick 1 applications
  • OpenGL, networking and other core functionalities of Qt
  • A set of commonly used sensors with Qt Sensors
  • Deploying your application to a device from Xcode / iTunes

Next steps

With the release of Qt 5.1 Beta we are one step closer to the Qt 5.1.0 final release, which we aim to have out before summer. Based on the feedback we receive from the Beta, there will be a Release Candidate created in a few weeks time, or alternatively a second Beta.

Please test out Qt 5.1 Beta and send us feedback:

  • File a bug report to bugreports.qt-project.org in case you find a new bug
  • Send e-mail to Qt Project mailing lists or contact us via IRC
  • If you have a commercial license, please contact Digia Qt Support via the Customer Portal

Qt 5.1 Beta release can be downloaded from the Digia Qt Customer Portal or from download.qt-project.org for open-source users.

 

Did you like this? Share it:
Bookmark and Share

Posted in Releases

130 comments to Qt 5.1 Beta Released

Max says:

Hello!

Nice work guys. What do you mean “before summer”. Which date is that around?

Lilian says:

That means they “try/aim” to release it by the end of May(this month).

Tuukka Turunen says:

@Max, Lilian: End of May is definitely too early to hope for ;)
We need to first get feedback on the beta, after which we can start the RC phase.
The official answer for the release date is of course: When it is ready.

HGH says:

And you should fix Qt Creator’s bug that adds a new compiler entry on every start (on Windows).
The bug was marked as fixed but obviously not for this release.

Jani Heikkinen says:

If you are referring https://bugreports.qt-project.org/browse/QTCREATORBUG-9124, it seems to be fixed in QtCreator 2.8.0. But in the Qt5.1 Beta1 there is QtCreator 2.7.1

Ian Monroe says:

Solstice is June 21. :)

Does this mean Qt Mac Extras still hasn’t been included? When will it be? This restores functions from Qt4 that I can’t port my app to Qt5 without.

Tuukka Turunen says:

@Matthew Smith: Yes, unfortunately Qt Mac Extras is not part of the Qt 5.1 Beta Release. It is not ready to be included yet, the API is not finalized, documentation is incomplete and amount of examples is low – and same situation exists for the Qt Win Extras.

Philippe says:

But is it still targeted for 5.1 final? I’m in the same situation as Matthew.

extras says:

if it’s not part of beta then it’s way too unlikely to be for final .. only qtx11extras is targeted for final

Robin Lobel says:

Congrats for the amazing work !

loaden says:

Congrats!

James Hudson says:

Great work, guys! Absolutely perfect timing – I just started porting a Qt app to Android today.

olihei says:

When will there be a qtcreator “to rule them all” (plasma active, sailfish, ubuntu, blackberry, …)?

Lilian says:

This are called plugins. And you can find plugins already…

aportale says:

The Blackberry (QNX) plugin is already shipping with Qt Creator. The SailfishOS (Mer) plugin is still a moving target under heavy development and will most likely be merged to mainline with/after the first SailfishOS SDK release. No idea about the other two, sorry :)

aportale says:

Edit: Actually, I re-read your question and think you meant whether there will be a Qt SDK with support for all these targets. In this case my answer is: this should be technically possible but requires a strong interest and engagement from the target owners.
Jolla is afaik indeed very interested in having their platform supported (incl. sysroots, etc.) by the official SDK installer. This will at some point be possible via an additional external online installer repository, hosted by Jolla. However, also in this case, the SailfishOS SDK needs to be released first.

Nikos Gerontidis says:

Great news! Qt 5.1 will give a huge boost to the Qt development. Cannot wait..

Ryan says:

With regards to the QSerialPort documentation: it talks about the difference between blocking and non-block serial ports, but does not explicitly state if QSerialPort is blocking or non-blocking. What does it mean if a QSerialPortInfo::isBusy returns true? Is the device actively being sent information? Or is it simply opened by someone (and thus can’t be used right now)? Also, a isVirtualDevice() function might be interesting (or document that the vendor/product identification only comes from the USB VID/PID).

I would also suggest a separate QSerialPortSettings class which can be used to load/store the baud-rate, parity, etc.

Is the error() signal emitted when the USB virtual com port is removed?

Denis Shienkov says:

> With regards to the QSerialPort documentation: it talks about the difference between blocking and non-block serial ports, but does not explicitly state if QSerialPort is blocking or non-blocking.

This content was taken from QAbstractSocket’s description as base. Because only QAbstractSocket implementation is near to QtSerialPort by within the meaning of.

> What does it mean if a QSerialPortInfo::isBusy returns true? Is the device actively being sent information? Or is it simply opened by someone (and thus can’t be used right now)?

It means that the device currently is open by someone. Yes, it is necessary either to change a name of a method or to mention its sense in documentation.

> Also, a isVirtualDevice() function might be interesting

No, there is no such concept as the “virtual device”. From the point of view of OS is usual serial port.

> (or document that the vendor/product identification only comes from the USB VID/PID).

Planned that VID/PID is used not only for USB, but also for PCI devices. For example for some extension-boards like the PCI/Serial converters. Only instead of PID is meant DID (device identifier). But because of lack of this type of devices it wasn’t checked and up to the end realized. But about documentation I agree that it is necessary to mention about it.

> I would also suggest a separate QSerialPortSettings class which can be used to load/store the baud-rate, parity, etc.

Maybe yes, maybe no.

> Is the error() signal emitted when the USB virtual com port is removed?

Is emitted when any error type of SerialPortError was occurred.

Manish says:

It’s great to see Qt advancing for #1 mobile application platform. With Android and iOS ports it’s set to rule the apps arena !! Way to go !

Clemens says:

Hi, why do you still link to the ICU libraries? This makes a custom compilation a necessary step for any serious deployment, otherwise the size of my application is just way too high. Compare the size of a hello world Qt application to the size of a hello world MFC / DotNet / Borland C++ Builder App..
Any thoughts?

Kai Koehne says:

I’m also not too happy with the footprint for a hello world. However there are a couple of reasons to rely on ICU by default
– much more complete encoding support
– locales, timezone data etc for all world regions
– qtwebkit requires it anyway

If you don’t want to compile Qt yourself, but on the other side want to slim down the installation size, you can also taylor your own ICU build, and replace the default libraries. Building ICU is actually not hard, see e.g. http://qt-project.org/wiki/Compiling-ICU and http://userguide.icu-project.org/icudata.

Congradulations to all developers. WIll try it this weekend. As a side note: Since I am upgrading Qt more often, can we have the best methods to remove the older Qt versions. I am using Linux (Ubuntu), so don’t have it just for the Windows users.

Kai Koehne says:

If you’re using the binary installer you can remove older versions by running ‘MaintenanceTool’.

Lilian says:

I wasn’t expecting it to be out before summer, this is amazing!
Thank you for your work!

DeakBlue says:

Just complaining again to keep you all honest, a showcase app on Google Play is desperately needed.

Show us your widgets!

Tuukka Turunen says:

@DeakBlue: There are already some Qt based apps in the Google Play, but you are right – we should provide a nice set of examples what is already possible with Qt. Latest with Qt 5.1.0 launch we will have some of mobile examples available with pointers where to get them.

terry says:

Any tutorials like–how to build an apps to android(by windows, mac, linux)?
What kind of compiler do we need(g++?)
Do we need to download the ndk, sdk and jdk?

Tuukka Turunen says:

@terry: For now, you can start e.g. with: http://doc-snapshot.qt-project.org/qt5-stable/qtdoc/android-support.html

terry says:

Thanks, could I develope android apps on mac?

android says:

not yet .. only Linux and Windows installers with Android support are available ..

Cesar says:

FWIW, using Velneo (very powerful, yet unknown, RAD tool, developed using Qt), you could develop in MacOSX machine, and generate Android apps, without the need of knowing anything about Android programming.

Check this 2011 video, a full-fledged ERP accesing a remote databse in realtime, running on Android, with the very exact same features it had available for Windows, MacOSX and Linux. http://www.youtube.com/watch?v=iXluV5jvmc0

Velneo v7 development can be used in any of the 3 desktop OS (Win, Mac, Linux) and the generated app can run in all 3, plus Android.

It’s expected that with a gold Qt5, Velneo will enable the release of case enterprise apps (like an ERP or CRM software), for iOS, without the need of having to create a very watered-down web versions for limited access and features to the central DB.

Stephen Chu says:

Is Android support only available on Linux platform?

Tuukka Turunen says:

@Stephen Chu: In the Qt 5.1 Beta, yes. More development platforms will be available later on. Next one is planned to be Windows.

terry says:

How many development platforms will be available In Qt5.1?linux and windows?What about mac?

keyga says:

Hi ! First of all, thank you for your great job !
So if I well understand, the reason I currently get the message “Qt versions for architectures x86, arm, mips are missing” is that it is missing yet in the binary package for windows ? So where can I get it, or what should I compile to have the qt-for-android version ?
Thank you ;)

Robin Lobel says:

You can give a try to one of the earliest snapshot maybe, some have Windows Android packages:
http://download.qt-project.org/snapshots/qt/5.1/5.1.0-beta1/backups/

keyga says:

Thanks, i didnt know those snapshots exist ! I’ll give a try ;)

Bogdan says:

What about Nokia?Symbian is version 4.8 … it will be updated to 5.1???

Tuukka Turunen says:

@Bogdan: Symbian is not a supported platform of Qt 5.x.

funlw65 says:

The “Maroon in Trouble” game example does not work under Android (The QtCreator tries to run the project directly on the Android device). The message is:

W/Qt (10683): qrc:///demos/maroon/maroon.qml:42 (): qrc:///demos/maroon/maroon.qml:42:1: plugin cannot be loaded for module “QtQuick.Particles”: Cannot load library /data/data/org.qtproject.example.maroon/qml/QtQuick/Particles.2/libparticlesplugin.so: (Cannot load library: link_image[1892]: 1839 could not load needed library ‘libQt5QuickParticles.so’ for ‘libparticlesplugin.so’ (load_library[1094]: Library ‘libQt5QuickParticles.so’ not found))

Does need Ministro to update the libraries?

Eskil Abrahamsen Blomfeldt says:

Please see the known issues page for the work-around for this problem:

http://qt-project.org/wiki/Qt510beta1KnownIssues

funlw65 says:

Solved. Checked the required library in Projects/Run/Package configurations

Android says:

Need choose this libraries in Project-Package configurations-Libraries

Android says:

In android wrong show window as a modal.
For example:
QMessageBox::aboutQt(this);

Eskil Abrahamsen Blomfeldt says:

Could you please file bug reports in http://bugreports.qt-project.org? If they’re reported in the blog comment field, they’re pretty much guaranteed to be lost :)

Kovis says:

The new project -> QtGui application skeleton does not compile on my Linux-64b box complaining about some STL header – is my gcc too old or to new?

/home/kovis/Qt5.1.0/5.1.0-beta1/gcc_64/bin/moc -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../Qt5.1.0/5.1.0-beta1/gcc_64/mkspecs/linux-g++ -I../poki -I../../Qt5.1.0/5.1.0-beta1/gcc_64/include -I../../Qt5.1.0/5.1.0-beta1/gcc_64/include/QtWidgets -I../../Qt5.1.0/5.1.0-beta1/gcc_64/include/QtGui -I../../Qt5.1.0/5.1.0-beta1/gcc_64/include/QtCore -I. -I. -I. -I/usr/include/c++/4.6 -I/usr/include/c++/4.6/x86_64-linux-gnu/. -I/usr/include/c++/4.6/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ../poki/mainwindow.h -o moc_mainwindow.cpp
usr/include/c++/4.6/bits/stl_relops.:68: Parse error at “std”
make: *** [moc_mainwindow.cpp] Error 1
13:56:15: The process “/usr/bin/make” exited with code 2.

Android says:

Android issues:

QtAndroidMediaPlayer sometimes closer at start
it was decided as:
http://pastebin.com/Egrynsfw

Wrong display QComboBox.
W/Qt (20547): kernel/qplatformwindow.cpp:368 (virtual bool QPlatformWindow::setKeyboardGrabEnabled(bool)): This plugin does not support grabbing the keyboard

QtCreator does not work correctly with shared libraries
it was decided as:
http://pastebin.com/6Y23ZwHs

[...] complete list of changes and fixes can be found in the official announcement. Download Qt 5.1 Beta right now from Softpedia. Remember that this is a development version and it [...]

On the the Mac, Assistant, Designer, Linguist and QMLViewer are all missing the NSHighResolutionCapable key from their Info.plist (which they greatly benefit from).

Is the QtDBus module no longer going to be included with the binary installer?

Jani Heikkinen says:

QtDBus module ins’t included in mac installer anymore. According to our understanding there hasn’t been so much users for that.

Jani Heikkinen says:

And please note: You can install dbus via Homebrew, Fink or MacPorts; then when you build Qt it will be detected, and the Qt D-Bus module will be built.

r@y says:

Great work guys, I did’n expect Qt 5.1 so early (before summer), best regards from Cuba

xu says:

when i build Qt Sample, it can not sucessful.

not find ma-make.exe, how can i fix it? thanks.

21:30:43: 为项目testqt执行步骤 …
21:30:43: 正在启动 “C:\Qt\Qt5.1.0\5.1.0-beta1\android_armv7\bin\qmake.exe” C:\work\testqt\testqt.pro -r -spec android-g++ “CONFIG+=debug” “CONFIG+=declarative_debug” “CONFIG+=qml_debug”

21:30:46: 进程”C:\Qt\Qt5.1.0\5.1.0-beta1\android_armv7\bin\qmake.exe”正常退出。
21:30:46: 正在启动 “ma-make.exe”

qtcreator_ctrlc_stub: Command line failed: ma-make.exe
21:30:46: 进程”ma-make.exe”退出,退出代码 -1 。
Error while building/deploying project testqt (kit: Android for arm (GCC 4.4.3, Qt 5.1.0))
当执行步骤 ‘Make’时
21:30:46: Elapsed time: 00:04.

Beta1 supports Android development on Linux, more development platform will be added later

[...] Digia объявила о начале тестирования бета-выпуска Qt 5.1. Релиз Qt 5.1.0 [...]

Robert says:

Can the same code be used for andoird and ios? Like writing once and than just changing pllatform for compilation? Also same with blackberry?

Cyttorak says:

That’s the point of Qt :) Anyway I don’t know what platform dependant issues are currently, but almost all code should be the same.

Steve says:

Any chance this could be released prebuilt into a linux VM image for 5.1?

Trinidad says:

I am really impressed with your writing skills and also with the layout on
your blog. Is this a paid theme or did you customize
it yourself? Anyway keep up the nice quality writing, it is rare to see a great blog like this one today.

fonzi337 says:

I agree with Trinidad, these blogs always look very nice, which makes them nice and readable. I’d be interested in applying a similar theme to our doxygen documentation if one is available.

Makkonen Sami says:

Thanks for the kind words. Theme has been crafted by qt-project.org web admin Markus. We are actually in the process of changing the theme a bit. Hopefully it will be even nicer in near future.

Framp says:

Guys, you’re talking with a spambot (note the lack of Qt references, the focus on general skills and the number of similar comments on the net)

Are we there yet?
http://xkcd.com/810/

Congrats for the release and for the blog :)

Cosmo says:

What is the status of Qt 5.1 accessibility? Compared to 4.8, accessibility in 5.0.x regressed on Windows and Mac. It is critical when certifying applications for use by universities or related to government in North America.

[...] take today’s Qt 5.1 beta release as an opportunity to push out some fixes to Qt Creator [...]

HGH says:

What about BlackBerry support? Is it any in there? Any official support? Any precompiled libs?

Ionut Dediu says:

+1; Maybe this is not the right place to ask, but when can we expect to see Qt 5 on BB10?

Margus Väli says:

Now this Hello World on Android was really neat. Android NDK+SDK, check arm tools from SDK installer, autodetect kits and off you go! Big thanks!

Eager to see more, I declared MediaPlayer from QtMultimedia 5.0, but stumbled upon libQt5MultimediaQuick_p.so not found as in QTBUG-30861 and QTCREATORBUG-9300 probably.

pavan says:

Great news.. This is useful for all android people.. Thanks for this information..!

jan-arve says:

Cosmo: I’m not sure what accessibility regressions you are talking about, but if its the performance regressions reported, all the known issues should be fixed by now.

Cosmo says:

jan-arve: I mean accessibility for people with disabilities: on Mac OS X, Voice Over is unable to access/control Qt application widgets and windows. Same with Windows built-in utility.

Dean says:

I am having problems getting the android “sdk” for windows to work. When I create a new project, first I get three missing dll errors from uic.exe

libgcc_s_sjlj-1.dll
libstdc++-6.dll
libwinpthread-1.dll

After manually copying the dlls to the appropriate location, I get another error, again from uic.exe:

The procedure entry point _Z11qUncompressPKhi could not be located in the dynamic link library Qt5Core.dll

The last error I wasn’t able to resolve, however creator appears to be running, I can code, use the designer and so on, but unfortunately I cannot build, when I try I get:

qtcreator_ctrlc_stub: Command line failed: ma-make.exe
15:37:46: The process “ma-make.exe” exited with code -1.
Error while building/deploying project testandroid (kit: Android for arm (GCC 4.7, Qt 5.1.0))
When executing step ‘Make’

Any ideas?

@Dean: Qt 5.1 Beta only comes with Android support on Linux development host. If you need to develop for Android on Windows, you should wait a while so that we have the Release Candidate of Qt 5.1, which will provide support for also Windows host for Android development.

Dean says:

So the build I got is not really working? I mean this one: http://download.qt-project.org/snapshots/qt/5.1/5.1.0-beta1/backups/2013-05-14-32/qt-windows-opensource-5.1.0-beta1-android-x86-win32-offline-2013-05-14-32.exe

Tuukka Turunen says:

@Dean: Because some things were not working as they should in the Windows host for Android, it was dropped from the beta. Work continues and it will work in the snapshots at some point before the RC.

onooma says:

great work, tanx :)

Well done on the Tech Preview support for Android and iOS. My question is will the Qt 5 Add-on modules (http://qt-project.org/wiki/Qt-Add-ons-Modules) which makes up most of the QtMobility APIs for mobiles be included for these two platforms like they are in Symbian, MeeGo-Harmattan & Sailfish OS?

Thanks,
Nagaraj.

I used to be able to find good information from your
blog posts.

Sigfred says:

The debug build Qt5QmlDevToolsd.lib is missing in the installer qt-windows-opensource-5.1.0-beta1-msvc2010_opengl-x86-offline.exe

[...] couple of days ago the Qt Project released the first beta version of Qt 5.1 including pre-build binaries for Android. Time for us to have a closer [...]

Dominik M says:

Hello, I would like to try QML video in android with Qt5.1.. Do anybody know where I can get working example?

I’m trying it by myself with qmlvideo example but it throws java.lang.InstantiationException: can't instantiate class org.qtproject.qt5.android.multimedia.QtAndroidMediaPlayer; no empty constructor and in application is “Failed to create Video item Check that Qt Multimedia is installed” in place where video should be. How should I fix this?

It would be awesome if it would be possible to get Qt project with source codes of media player presented in “Preview of Qt 5 for Android” article in this blog.

Thank you very much for any help.

Dominik M says:

I have solved “Failed to create Video item Check that Qt Multimedia is installed” message. Qt5MultimediaQuick_p was missing in my libs.xml file.

Now It’s playing the video. There are still some problems that I will have to solve. But it’s playing the file.

Really great work guys! I’m was waiting for this a long time. I’m looking forward to final version. I really appreciate your work given to android development :)

Dominik M says:

It’s really great, qmlvideofx is working too, also with all effects.. But both applications throw
F/libc ( 3259): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 3290 (mple.qmlvideofx)
when QML view is replaced or reseted :(

Do anyone know how can I fix this, please? (There is also long memory dump which I’m not including in this post)

Eskil Abrahamsen Blomfeldt says:

The crash should be fixed by this:

https://codereview.qt-project.org/#change,56575

It should be available in the RC (and probably a snapshot fairly soon), or you could apply it manually to the source and build Qt yourself if you want to try it out right away. The fix for the Qt5MultimediaQuick_p bug is also pending at the moment.

tucnak says:

So, can I build iOS Qt application and sell it on iPhone App Store?

Tuukka Turunen says:

@tucnak: It is recommended not to deploy with the beta.

Sergey says:

I tried install qt5.1 beta for android on 64bit fedora VM and have problem.
All installed, but:
1. In Tools/Options/Build&Run/Kits there is Desktop QT5.1 GCC 64bit under auto-detected marked with red exclamation sign
2. I can’t create android project because it says on Targets page “No valid kuts found”. But in Build&Run/Kits there is 6 Android kits available
3. Tools/Options/Android looks good but there is yellow exclamation saying: Qt version for architecture mips is missing.
Latest as i understand is not problem It should still allow create android apps for different architectures. But main problem – i can’t create android project at all.

Eskil Abrahamsen Blomfeldt says:

This sounds strange. Did you install the 64 bit package, did you remember to check the Android builds in the installer, and did you fill out the paths to the Android NDK and SDK in the Android options?

If you did all this and it doesn’t work, could you please report a bug in http://bugreports.qt-project.org and we can continue the discussion there? I would also be interested in knowing if there are any Qt for Androids under “Qt” in Build&Run and whether they report any errors.

Sergey says:

Really i found i can create project with Qt GUI Application wizard, but i thought it should create android application with Mobile Qt Application, right? And designer should have android specific widgets. Or not? Sorry i just never worked with mobile platforms and not sure where to start.

Eskil Abrahamsen Blomfeldt says:

I see now. The Mobile Qt Application template does not seem to work properly (it says it supports Android, but then it does not find any valid kits).

You can just use one of the other templates, such as “Qt Quick 2 Application”. This is probably the most suited for developing on mobile platforms in Qt 5, since it uses QML as the user interface language which makes it easier to design slick, touch-enabled UIs like the ones usually seen in Android apps.

Another option is to use Qt Gui Application, in which the UI will be C++ widgets. Note that the widgets are not designed with small touch screens in mind, and are more geared towards traditional desktop applications.

Here’s some “Getting Started” guides to help you make your choice:

http://qt-project.org/doc/qt-5.0/qtdoc/gettingstarted.html

There are no Android specific widgets in Qt.

Thanks for reporting this :)

Sergey says:

Unfortunately i can’t use Qt Quick 2 because i’m planning later build app for iOS and as i understood it’s not supported yet on this platform (i mean quick 2 on ios). So do you think correct choice for android platform is only qt quick 2, because it designed for small touch screen, right? Is it possible to write native looking and behaving android apps with C++ widgets? Could i use qt quick elements (i didn’t use quick yet, so sorry for may be stupid question) like widgets?

Eskil Abrahamsen Blomfeldt says:

Sergey: There’s a maximum depth to replies here, so I’ll answer your question in a reply to myself instead.

1. Qt Quick 2 is not supported on iOS quite yet, correct.
2. Qt Quick 1 might be an option for you, since it’s possible to use on both platforms and would be easy to port to Qt Quick 2 (giving you more features and better performance) once it is supported on both platforms.
3. If you want to use QtWidgets with the beta package and user designer to create the UIs (rather than hand-coding them), you would have to install the Qt5Core library. This should be fixed in upcoming snapshots for the RC.
4. For QtWidgets there is the option to use the Android style, which, when used in combination with Ministro, will adapt to the device on which it’s running. There are unfortunately some known issues with this style which will not be fixed in time for Qt 5.1: https://bugreports.qt-project.org/browse/QTBUG-29565 It could perhaps be used as a starting point.
5. For Qt Quick 2 there are the Qt Quick Controls which you could style to fit in on the device. Currently there is no Android style included for Qt Quick Controls. There is however an example there called “touch” which creates a touch-optimized style for Qt Quick Controls and which could perhaps be used as a start. This would require Qt Quick 2 however.

Sergey says:

BTW, why your selling guys doesn’t response to emails about price? My customer wrote 2 emails, left voice message in California office and no any responses?

lin says:

1. create “Qt Gui Application”
2. on kit selection dialog check the android for arm option on
3. over
4. maybe need copy some code from qt for android project in main.cpp, mainwindow.cpp mainwindow.h
try it.
good luck

When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
is added I get four e-mails with the same comment. Is there any way you can remove people from
that service? Cheers!

mike7b4 says:

I don’t wanna be a whiner but it’s kind of ironic that 5.1 has Android support. And in the same time there is not even any packages for NokiaN9(not even 5.0 only some old beta somewhere I can’t even remember link).

As we know we can’t expect this from broken Nokia. But it would be great if we could see .deb package from third party ASAP.

My N9 deserves this way more than Androids phones.

Dean says:

I don’t think any platform support deserves more attention because you happen to own a product based on it, nor of any past affiliations with Nokia. N9 is far too insignificant portion of the market, not to mention a dead end product, so pardon my disagreement with your claim it deserves more attention than Android and iOS which are the market leaders and cash cows.

terry says:

Agree with you.N9 is an obsolete device but Android and iOS are the market leaders and cash cows.You could port your apps onto android, iOS, help Qt5 to support N9 or simply fallback to Qt4.

Fra says:

Thanks Nokia. I still have to understand how they managed to fuck this up.

funlw65 says:

How they managed to save Qt and assuring that Qt will became a toolkit to rule them all, despite Microsoft conditions? They needed that move to survive. Will see in time if Windows Phone/8 was the right choice.

funlw65 says:

Don’t forget how hard was Nokia hit by iOS and Android! The best linux embeded implementation is Android. Let’s see what Tizen means.

7 says:

So, I decided to give the android support a go. Installed the 5.1 beta on Ubuntu, got the SDK, NDK and so on, and now I am stuck.

First fail – cannot run ant, the error:
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Then, ignoring ant and trying to build something, another error:
/home/dell/Qt5.1.0/5.1.0-beta1/android_armv7/bin/uic:-1: error: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

I am pretty sure I have the libstdc++ on the machine, I since I just installed Qt, I should have the Qt libraries as well, so what’s the problem?

Eskil Abrahamsen Blomfeldt says:

Hi,

There does indeed seem to be a problem with the Linux 64 bit package which makes it impossible to run uic. Making apps which do not depend on QtWidget (or which do not use .ui files) should work.

I’ve made this task for it: https://bugreports.qt-project.org/browse/QTBUG-31240

As for the ant problem, I’m not sure what might cause that. Ant is an external build tool and should work if it’s installed correctly. It’s not part of Qt however.

ath0 says:

I tried the 5.1 beta on a preliminary iOS port of a desktop app and I’m pleasantly surprised by the speed. However, the app is based on Graphics View and I can’t get antialiasing. Known issue or is there a trick to enable AA?

Qt4iOS says:

@ath0, the “built-in” iOS platform plugin in Qt 5.1 uses a OpenGL painter and so is (AFAIK) not able to do AA rendering, as the Qt OpenGL painter doesn’t have this capability. In addition, that platform plugin does not have OpenGL multi-sampling capability, so there is no way to enable any type of AA in that plugin (in Qt 5.1).

I’ve added a patch to the “dev” (aka. 5.2) version of the OpenSource plugin which uses a ‘raster’ painter and is thus able to do AA rendering:

https://codereview.qt-project.org/#change,56129

Alternatively, there is a closed-source iOS platform plugin, available for Qt 4.8, 5.0 & 5.1, which supports both raster and OpenGL painters, and is able to use hardware-accelerated multi-sampling with OpenGL (as well as many other features not available with the “built-in” OpenSource platform plugin).

ctin says:

Hello!
What is the ?

ctin says:

Hello!
What is the support for Static Qt builds?

Hmm is anyone else encountering problems with the pictures on this blog loading?
I’m trying to find out if its a problem on my end or if it’s the blog.
Any suggestions would be greatly appreciated.

my homepage :: kiss-esca.com

João Barbosa says:

Great work!

However there is no qt webkit available for android. Do you plan to include in the next version or should I build it?

Eskil Abrahamsen Blomfeldt says:

QtWebkit is not on the road map for Qt 5.1 for Android.

[...] um mês depois de lançarem o Qt 5.1 alpha, os desenvolvedores da Digia anunciaram o primeiro beta do Qt 5.1. O beta continua com praticamente os mesmos recursos do alpha – Qt [...]

Sergey, I just sent an email to you regarding your customer not being able to connect with the sales people in California. If you need to reach me, my email address is robert.jansen@digia.com.

Robert says:

When will QT map all apis like marmalade did, that I can use many things in Android and iOS like camera, sound, gps etc.???

Tuukka Turunen says:

@Robert: Yes. Qt provides an extensive API, which will also be available in Android. Some things, such as sensors, are already there. More will come in the subsequent releases.

I think I have found a bug in TextArea. In the example at qtquickcontrols/examples/quick/controls/text when a word is clicked 3 times so that the whole paragraph is selected the font size becomes the same as in the next paragraph. If the binding at the bottom of main.qml:

selectionEnd: textArea.selectionEnd

is changed to:

selectionEnd: textArea.selectionEnd > 0 ? textArea.selectionEnd – 1 : 0

it works properly. So I would think that textArea.selectionEnd sometimes happens to report an incorrect value.

Tuukka Turunen says:

@Dimitar Dobrev: Please use http://bugreports.qt-project.org to file a bug, with as much details as you have, preferably including full code to reproduce.

Here you are: https://bugreports.qt-project.org/browse/QTBUG-31369. No code, however, because, as I’ve already said, it happens with one of your examples.

CyberFX says:

BUG REPORT !!!!!

BUNDLED QTCREATOR in

QT_v5.0.2
and
QT_v5.1.0Beta1

DOESN’T WORK ON WINDOWS XP !!!!!!!!!!!!!!!

I’m really sick from this error !!!!!
Please FIX IT IMMEDIATELY !!!!!!!

THANKS . . .

(very confused) CyberFX

Tuukka Turunen says:

@CyberFX: Windows XP is not a supported configuration for Qt 5.1, but many things do work on it. Please use http://bugreports.qt-project.org to file a bug on this.

With Qt Quick Controls, how does one maximize ApplicationWindow?

And also, how to limit the number of items that are visible in the drop-down area of ComboBox, and a scroll appears when needed?

Chris says:

Why isn’t dbus included in the windows release?
It’s working on that platform too

Thanks
Chris

terry says:

Would Qt5.1 support camera on android?Do I have to wait until Qt5.2?Thanks

marchino81 says:

Is it possible to install Qt 5.1 rc1 with Android toolchain (http://download.qt-project.org/snapshots/qt/5.1/5.1.0-rc1/backups/2013-05-30-44/), on a Windows 7 development platform ?

Thanks,
Marco,

Stephane says:

Will QtQuick.Dialogs 1.0 be included in 5.1 release ?
It appears in QtQuick Controls example but I can’t find the documentation for this module.

Krys says:

Hi, its great…

But please provide a build for QT 5 – VS2010 – 64 bits too .

Thanks a lot

BTW: I have try to build QT5 myself, but maybe there are some problems, I have do a post : http://qt-project.org/forums/viewthread/28510/

Brian says:

Unknow module(s) in QT: webkit. I change my .pro to webkitwidgets still the same. Anyone has this problems

Thanks very much!

Commenting closed.