Re: [Development] Compiling for iOS, qtdeclarative and others fail

2015-05-20 Thread Harri Pasanen
It's been a while since I compiled for iOS, but I recall having to run 
in the terminal on the build machine itself.  Compiling over ssh did not 
work because of some signing issue, keystore access or some such was not 
available in ssh shell.


I'm not sure if you have the same issue or not.

Just my 2 cents,

Harri

On 20/05/2015 18:54, Ariel Molina wrote:
I was tracking a bug in Qt for desktop, then tried to test it on iOS 
but i cant build Qt 5 for iOS.


I have a valid Apple Account, paid for the license and I can build 
XCode and Qt apps for iPad, it works, but not Qt itself, here's my 
procedure


 1. Git clone qt5
 2. perl init-repository
 3. ./configure -xplatform macx-ios-clang -release -sdk iphoneos
 4. make fails with: http://pastebin.com/eK0Rr1tM

It seems it fails to sign code, but other modules are signed 
correctly. Shall i post a bug report? What is your procedure to build 
succesfully?


Ariel

--
Ariel Molina R.

Oficina: +52 (222) 3723196
Movil: +521 2226 758874
http://edis.mx


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] iOS, libpcre16, QString::trimmed_helper()

2015-05-05 Thread Harri Pasanen
I'm attempting to use libQt5Core with self compiled qt5.5 snapshot, 
which is a couple of weeks old.   The link fails, complaining about 
missing libpcre16.
I believe that is not standard on iOS, at least it does not come up when 
looking for "Other Libs" pcre in XCode.   There does seem to be some 
version of libpcre for OSX.

Trying with Qt5.4, I have another error, where 
QString::trimmed_helper(QString const &) is missing.

Any advice?

Harri


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] HEADS-UP: Qt 5.4.2 release coming

2015-04-21 Thread Harri Pasanen
Perhaps worth mentioning that QPushButtons don't render on Android:

https://bugreports.qt.io/browse/QTBUG-45714



On 21/04/2015 15:20, Massimo Callegari wrote:
>>> Hi all!
>>> Downmerge from '5.4' to '5.4.2' is now done & all changes targeted to 
>>> Qt5.4.2 release must be done
>>> in '5.4.2' branch. From now on '5.4' is for possible Qt5.4.3 release.>> If 
>>> there is some open changes in '5.4' which should be in Qt5.4.2 please sent 
>>> re-targeting request to Ossi.
>>> Once again: Please remember that '5.4.2' is release branch and so on no any 
>>> nice-to-have fixes in
>>> anymore!
>>> Maintainers: Please create change files for Qt5.4.2 immediately, we are 
>>> planning to put Qt5.4.2 out
>>> soon!
>>> br,
>>> Jani
>
> Hi, if possible please include this: 
> https://bugreports.qt.io/browse/QTBUG-45037
>
> Pending on Gerrit here: https://codereview.qt-project.org/#/c/110724/
> It's a regression from 5.4.0.
>
>
> Thanks
> Massimo
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] qtplugininfo install fails

2015-04-21 Thread Harri Pasanen

Thanks!

FYI,  5.4.2 branch also seems to suffer from the same for qdbus when 
compiling for Android,

in addition to 5.4 already mentioned in comments.

Added a comment to that effect.

Harri

On 20/04/2015 09:39, A. Klitzing wrote:

Hi there!

corresponding bug report: https://bugreports.qt.io/browse/QTBUG-45095

Best regards
   André Klitzing


2015-04-18 18:54 GMT+02:00 Harri Pasanen <mailto:ha...@mpaja.com>>:


Just updated my 5.5 tree,  qttools/src ad31b98

Seems like qtplugininfo is ignoring the -prefix passed to configure:

cd qtplugininfo/ && ( test -e Makefile ||
/home/harri/src/qt5/qtbase/bin/qmake
/home/harri/src/qt5/qttools/src/qtplugininfo/qtplugininfo.pro
<http://qtplugininfo.pro> -o
Makefile ) && make -f Makefile install
make[3]: Entering directory
'/home/harri/src/qt5/qttools/src/qtplugininfo'
mkdir: cannot create directory ‘/libs’: Permission denied


Harri
___
Development mailing list
Development@qt-project.org <mailto:Development@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development




___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Branches 5.4 and 5.4.2

2015-04-21 Thread Harri Pasanen
On 20/04/2015 20:17, Thiago Macieira wrote:
> On Monday 20 April 2015 20:09:49 Harri Pasanen wrote:
>> Does 5.4 have everything 5.4.2 has?
>>
>> Is there on-line some graphical view of the branches?
> Yes but not always. The 5.4 branch will eventually have the full 5.4.2
> release, but until it closes (when the release it happens), it may have a
> handful of commits not yet merged into 5.4.
>
Thanks, I was unsure which one is the merge target.


Harri
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Branches 5.4 and 5.4.2

2015-04-20 Thread Harri Pasanen
Does 5.4 have everything 5.4.2 has?

Is there on-line some graphical view of the branches?

Thanks,

Harri
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] 5.5 beta builds for iOS?

2015-04-20 Thread Harri Pasanen
There don't seem to be any?

Thanks,

Harri
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] qtplugininfo install fails

2015-04-18 Thread Harri Pasanen
Just updated my 5.5 tree,  qttools/src ad31b98

Seems like qtplugininfo is ignoring the -prefix passed to configure:

cd qtplugininfo/ && ( test -e Makefile || 
/home/harri/src/qt5/qtbase/bin/qmake 
/home/harri/src/qt5/qttools/src/qtplugininfo/qtplugininfo.pro -o 
Makefile ) && make -f Makefile install
make[3]: Entering directory '/home/harri/src/qt5/qttools/src/qtplugininfo'
mkdir: cannot create directory ‘/libs’: Permission denied


Harri
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] QML bindings for native Android controls

2015-04-13 Thread Harri Pasanen
On 13/04/2015 14:58, Nurmi J-P wrote:
>> >On 13 Apr 2015, at 14:13, Harri Pasanen  wrote:
>> >
>> >Name candidates: QML-Droid  or QDroid
> Various derivatives from Droid seem to be popular. Does it not fall to the 
> “any play on names” or “slang in names” categories?
>
> http://wiki.qt.io/Creating_a_new_module_or_tool_for_Qt
>

How about then qml-native ?

I would give a hint that it is somewhat akin to react-native, and allows 
for migration to other targets while keeping the name.

So at least in theory it could target ios, windows phone as well...

Harri
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] QML bindings for native Android controls

2015-04-13 Thread Harri Pasanen
Name candidates: QML-Droid  or QDroid

Btw, can QML do layouting of Android widgets, or is that left for the 
android layout engine?

Harri


On 13/04/2015 13:21, Nurmi J-P wrote:
> On 12 Apr 2015, at 11:03, Robert Iakobashvili  wrote:
>
>> On Sun, Apr 12, 2015 at 11:45 AM, Nurmi J-P  wrote:
>>> Hello,
>>>
>>> I'd like to request a playground repository for the former hackathon 
>>> project of mine: QML bindings for native Android controls - 
>>> https://youtu.be/Mo8J-g5XPGQ
>>>
>>> Before proceeding to a formal request, the baby needs a name. I was hoping 
>>> you could help me choose one.
>>>
>>> Factors that affect the naming:
>>> - This is not cross-platform, but highly Android specific. The convenience 
>>> of QML and and full access to the underlying platform APIs combined.
>>> - This is not integrated with Qt Quick. Only QML engine & native controls 
>>> (via JNI) are used. Gives great performance with 100% perfect native 
>>> behavior.
>>>
>>> Credits for the groundwork go to Attila Csipa
>>> - http://achipa.blogspot.no/2014/11/qml-wrappers-for-native-android.html
>>> - http://achipa.blogspot.no/2014/11/native-ui-in-qt-on-android-without.html
>>>
>>> --
>>> J-P Nurmi
>> It looks cool!
>>
>> QtBuzzDroid
>> CuteBuzzDroid
>>
>> jm2c
>>
>> Regards,
>> Robert
> Thanks for the ideas, keep it coming! :) We should probably follow the 
> guidelines: https://wiki.qt.io/Creating_a_new_module_or_tool_for_Qt
>
> --
> J-P Nurmi
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Qt 5.5 declarative-camera example on ios

2015-03-26 Thread Harri Pasanen
I've compiled qt5.5 from git to iOS, in the hope to track down some bugs
and contribute the fixes.

In compiling and running the declarative-camera sample from Qt Creator, 
by opening

qt5/qtmultimedia/examples/multimedia/declarative-camera/declarative-camera.pro
and compiling for debug, I can run the application, but it does not work.

qrc:///declarative-camera.qml:41:1: module "QtQuick" is not installed
qrc:///declarative-camera.qml:42:1: module "QtMultimedia" is not installed

I figure the declarative-camera.pro is missing something for iOS,
or some something small in .pro

After archiving the debug app, the ipa contents are below.
Should I see the qml files in the list below, or are those part of 
declarative-camera binary?

Archive:  macpro/declarative-camera.ipa
  Length   MethodSize  CmprDateTime   CRC-32   Name
  --  ---  -- -   
0  Stored0   0% 2015-03-26 11:04   Payload/
0  Stored0   0% 2015-03-26 11:04  
Payload/declarative-camera.app/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/_CodeSignature/
 2949  Defl:N  761  74% 2015-03-26 11:04 963b7c7c 
Payload/declarative-camera.app/_CodeSignature/CodeResources
  386  Defl:N  247  36% 2015-03-26 11:03 e176ea9e 
Payload/declarative-camera.app/archived-expanded-entitlements.xcent
40368608  Defl:N 1664  59% 2015-03-26 11:04 ce97f0e8 
Payload/declarative-camera.app/declarative-camera
 7014  Defl:N 2150  69% 2015-03-26 11:03 9581aa42 
Payload/declarative-camera.app/default-5...@2x.png
10658  Defl:N 6706  37% 2015-03-26 11:04 da9b9de3 
Payload/declarative-camera.app/embedded.mobileprovision
 1108  Defl:N  718  35% 2015-03-26 11:03 e04bb31e 
Payload/declarative-camera.app/Info.plist
 3177  Defl:N 1758  45% 2015-03-26 11:03 030c23cd 
Payload/declarative-camera.app/LaunchScreen.nib
8  Defl:N8   0% 2015-03-26 11:03 5b8a0449 
Payload/declarative-camera.app/PkgInfo
   46  Defl:N   33  28% 2015-03-26 11:03 6261c32d 
Payload/declarative-camera.app/qt.conf
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/Qt/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/Qt/labs/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/Qt/labs/folderlistmodel/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/Qt/labs/settings/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtAudioEngine/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtCanvas3D/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtLocation/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtMultimedia/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtPositioning/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQml/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQml/Models.2/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQml/StateMachine/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Controls/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Controls/Styles/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Controls/Styles/Flat/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Dialogs/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Dialogs/Private/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Extras/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Layouts/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/LocalStorage/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Particles.2/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/PrivateWidgets/
0  Stored0   0% 2015-03-26 11:03  
Payload/declarative-camera.app/qt_qml/QtQuick/Window.2/
0 

Re: [Development] Help needed to test Ministro 10.3, needed for Qt 5.4!

2014-11-27 Thread Harri Pasanen
Hmm... looking at the issue it seems to me that it is not going to be 
fixed, it is an intentional change.   They are tightening the platform 
from security point of view, and this change is similar to change that 
made removable SD cards much less useful in KitKat: 
https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn


http://developer.android.com/reference/android/content/Context.html#MODE_WORLD_READABLE 
says it has been deprecated since API level 17, so I doubt they'll bring 
it back.


Ministro has had a good run, but unless I'm mistaken this basically 
kills it?


Harri


On 26/11/2014 13:28, Cristian Adam wrote:


Please "star" the android issue so that Google developers understand 
the severity of the problem.


It's not like only six people are affected by this.

Cheers,
Cristian.

On 26 Nov 2014 12:45, "BogDan" > wrote:


Hello folks,

I have some bad news about Ministro on Android 5.0. Due to a bug
https://code.google.com/p/android/issues/detail?id=79478 introduced by
Google in Android 5.0 final release apps that are using Ministro
are not working anymore, on Android L preview it worked just fine.
I hope in the next Android version Google will fix this problem.

New stuff added to Ministro 10.
- application startup up speed improvement, I've cuted +150ms from the
time that your application needs to wait for Ministro's response, now
your application waits 2-4ms (of course if Ministro doesn't need to
download/extract anything).
- extract Qt 5.4 QuickControls style info
- speed up the theme extraction (now it needs 2/3 of the previous
time).
- extract InsetDrawable. On Android 4.4.4 it seems this Drawable is
used and will crash QWidget based apps if is not extracted.

New stuff added to 10.1
 - bumped MINISTRO_MAX_API_LEVEL

New stuff added to 10.3
 - for more exceptions on Android 5.0
 - extract default palette & fonts, needed by Qt 5.4
 - extract some Android 5.0 specific look and style info.

What happen with 10.2?
 - I bumped the version to 10.3 by mistake and I pushed it, so
there was no 10.2 :).

How to test it:
- make sure the previous version is installed and your apps are
using it.
- install over the previous version ($ adb install -r Ministro\
II\ v10.3.apk).
  * Ministro will extract again *ONCE* the style.
  * Trying your existing apps should *NOT* trigger any new downloads.
- after you test your applications with Ministro installed on top of
previous Ministro version, please test in on a clean installation. So,
go to settings -> apps and remove Ministro, then install it again ($
adb install Ministro\ II\ v10.3.apk).
  * Ministro should extract style info and certificates and it should
download again all needed libs.
  * Your application should work without any recompilation.


Please download and test Ministro from here:
https://files.kde.org/necessitas/installer/test/Ministro%20II%20v10.3.apk

Thank you!

Cheers,
BogDan.


___
Development mailing list
Development@qt-project.org 
http://lists.qt-project.org/mailman/listinfo/development



___
Necessitas-devel mailing list
necessitas-de...@kde.org
https://mail.kde.org/mailman/listinfo/necessitas-devel


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development