April 23, 2012

Qt4iOS Qt4iOS
Lab Rat
69 posts

ANN: A new version of the Qt SDK for iOS is now available.

 

The SDK contains Qt 4.8.1, QtMobility, Qt3D, QtGameEnabler, QmlViewer, MatchEmPoker & OpenSSL. The SDK package contains OpenGL/ES 1.x (for legacy devices) and OpenGL/ES 2.x distributions for device and simulator.

The MatchEmPoker sample (included) can be used as an example of how to build a QtGameEnabler app for iOS (look at the .PRO file).

To see Qt4iOS in action, download the SDK, install the GLES2 version and open the ‘qmlviewer’ project in Xcode.

For more information: https://twitter.com/#!/Qt4iOS/status/194212403083345921

(unfortunately this forum corrupted the download links so they were removed)

7 replies

April 23, 2012

MaPet MaPet
Lab Rat
27 posts

sounds nice! i will give it a try!

April 23, 2012

Qt4iOS Qt4iOS
Lab Rat
69 posts

This SDK is not officially (or unofficially) endorsed by Nokia, Digia or anyone else. It has been built from the released Qt4.8.1 OpenSource source code with the necessary API changes to Qt4.8.x patched in. The source code is provided as a separate download.

As there are changes required (particularly for OpenGL) that can’t make it into 4.8.x due to that API being ‘frozen’, the ‘branch’ of Qt4.8.x will be maintained in gitorious as ‘qt-ios-plaszma’.

The SDK contains two ‘Lighthouse’ http://labs.qt.nokia.com/category/labs/lighthouse plugins for iOS: ‘iOS’ (commercial, developed with a commercial Qt license, closed source) and ‘UIKit’ (open source, part of Qt 4.8.x).

June 14, 2012

vadimv vadimv
Lab Rat
7 posts
Qt4iOS wrote:
The MatchEmPoker sample (included) can be used as an example of how to build a QtGameEnabler app for iOS (look at the .PRO file).

when trying to make this sample I get

  1. In file included from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/c++locale.h:50,
  2.                  from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/iosfwd:45,
  3.                  from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:70,
  4.                  from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/algorithm:65,
  5.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qglobal.h:68,
  6.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qnamespace.h:45,
  7.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qobjectdefs.h:45,
  8.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qobject.h:47,
  9.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qcoreapplication.h:45,
  10.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtGui/qapplication.h:45,
  11.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtGui/QApplication:1,
  12.                  from src/main.cpp:5:
  13. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/cstdarg:51:20: error: stdarg.h: No such file or directory
  14. In file included from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/iosfwd:45,
  15.                  from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:70,
  16.                  from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/algorithm:65,
  17.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qglobal.h:68,
  18.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qnamespace.h:45,
  19.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qobjectdefs.h:45,
  20.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qobject.h:47,
  21.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtCore/qcoreapplication.h:45,
  22.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtGui/qapplication.h:45,
  23.                  from /Developer/Qt4iOS/qt-everywhere-ios-gles1-4.8.1/include/QtGui/QApplication:1,
  24.                  from src/main.cpp:5:
  25. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/c++locale.h: In function ‘int std::__convert_from_v(int* const&, char*, int, const char*, ...):
  26. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/c++locale.h:77: error:va_start’ was not declared in this scope
  27. /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/c++/4.2.1/bits/c++locale.h:85: error:va_end’ was not declared in this scope

any thoughts why ? my xcode is 4.2 , in order to run on iOS 5.1 I’ve added manually iOS 5.1 to related folders, (iOS5.1 apps work ok), I’ve followed your guides from/and 18 Apr SDK. thx for any help,

June 14, 2012

vadimv vadimv
Lab Rat
7 posts

on simulator started with gles2, but on device to compile as you see above, also I’ve used for device gles1, going to try again but seeing the watermark screen on simulator and mediator site seems to be dead with no contacts, where I can find out how much the license costs ?

June 19, 2012

Qt4iOS Qt4iOS
Lab Rat
69 posts

For starters Matchem Poker is OpenGL/ES2.x only, so it won’t work if you’re building it with a OpenGL/ES1.x SDK anyway… Then patching unsupported SDKs into Xcode is not going to make life any easier. Use Xcode 4.3.x or one of the SDKs supported by Xcode 4.2.x. Nothing in the Qt4iOS SDK uses any feature from iOS that requires a later SDK than iOS 4.0.

Due to the costs involved, the Qt4iOS ‘iOS’ platform plugin is not suitable for end users at this time. It’s possible to use the ‘UIKit’ plugin and the SDK for free (LGPL), but that plugin does not support OpenGL, GameEnabler etc., so you’d need to extend it if you wanted to use those features…

November 21, 2012

blakxu00 blakxu00
Lab Rat
6 posts

I faced similar issue, and SOLVED it by adding llvm- to the gcc and g++ to the makefile as below

change it to [directry]/llvm-g++-4.2 change it to [directry]/llvm-gcc-4.2

note the only change is adding the “llvm-” in the makefile,

January 8, 2013

Qt4iOS Qt4iOS
Lab Rat
69 posts

The SDK has been updated to Qt 4.8.4, and is available from:

http://www.mediator-software.com

 
  ‹‹ [solved] automatically anchor elements when phone rotates      [solved] something like oncreate: running code at the startup of an application ››

You must log in to post a reply. Not a member yet? Register here!