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

2015-05-26 Thread Ziller Eike

 On May 23, 2015, at 05:03, Ariel Molina ar...@edis.mx wrote:
 
 Hi, 
 
 I solved the problem, just want to share,
 
 On Wed, May 20, 2015 at 12:16 PM, Edward Sutton edward.sut...@subsite.com 
 wrote:
 I understand the config commands used to build Qt packages are here:
 
 http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config
 
 
 I just followed your suggestion but using opensource [1], please Have a look 
 at my configure output [2].
 
 It installed on /usr/local
   • make -j8, took two hours, went OK
   • cd qtbase,  sudo make install, OK
   • cd qtimageformats, sudo make install, OK
   • cd qtquick1, sudo make install, OK
   • cd qtquickcontrols, sudo make install OK
   • cd qtdeclarative, FAILS: http://i.imgur.com/QOAaEgJ.png
 The error is:
 === BUILD TARGET xmlpatterns OF PROJECT xmlpatterns WITH CONFIGURATION Debug 
 ===
 Check dependencies
 Code Sign error: No provisioning profiles found: No non–expired provisioning 
 profiles were found.
 CodeSign error: code signing is required for product type 'Application' in 
 SDK 'iOS 8.3’

xmlpatterns module probably builds the “xmlpatterns” and “xmlpatternsvalidator” 
for the target environment (in your case iOS), and therefore tries to sign 
these applications.
Similar for “qml.app”.

 Just out of curiosity I went into these (in exact order)
   • qtxmlpatterns, FAILS with same error
   • qtmultimedia, qtgraphicaleffects, qtsensors, qtsvg, qtcanvas3d, 
 qtlocation, qtwebchannel, qtwebsockets, qt3d, OK
 However I found a fix, I went into qt/xmlpatterns/tools/xmlpatterns


 and did a normal non-sudo make, and it found my developer credentials.

If you use sudo, the process is running as root, and root doesn’t have your 
“normal” user’s developer credentials installed of course.
Did you build Qt with a simple “make” (as normal user, without “install”) 
before you tried to install?

 There, make install worked. But not on the parent, qtxmlpatterns.
 
 So the fix i implemented is I went into /usr/local and changed ownership of 
 Qt-5* to my user, then did all installs without sudo, then it finds my Apple 
 Developer credentials, it installs cleanly. Problem solved :)
 
 Thank you for your time!
 
 Ariel
 
 [1] 
 http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_ios_opensource
 [2] http://pastebin.com/83vtcLzH
 [3] Fails snapshot: http://i.imgur.com/QOAaEgJ.png
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development

-- 
Eike Ziller, Senior Software Engineer | The Qt Company
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

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


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

2015-05-22 Thread Ariel Molina
Hi,

Unfortunatly the snapshots are of no use to me, I was patching a bug in
Desktop and then tried to test this fix in iOS. It's a very simple patch,
but needs full Qt rebuild.

Ariel

On Wed, May 20, 2015 at 1:12 PM, Edward Sutton edward.sut...@subsite.com
wrote:

  On May 20, 2015, at 12:55 PM, Ariel Molina ar...@edis.mx wrote:

 To be exactly, it compiles with make, but sudo make install fails.


 We are in “the same boat” then.

 That is the same issue I have building and installing  Qt 5.5 iOS.

 New Qt 5.5 snapshots are available if that may help:

 windows: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_62/
 linux: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-20_89/
 mac: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_74/


 Unfortunately the 2015-05-19_74 Qt 5.5 snapsho
 http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_74/t does
 not have the Xcode related fixes I was hoping will arrive *before* Qt 5.5
 release::

 • QTBUG-45966 - iOS: XCode 6.3.1 Crashes with QtCreator Generated XCode
 Projects https://bugreports.qt.io/browse/QTBUG-45966
 • QTBUG-45826 - 5.5 iOS: compilation error when compiling examples
 https://bugreports.qt.io/browse/QTBUG-45826


 -Ed




 On May 20, 2015, at 12:55 PM, Ariel Molina ar...@edis.mx wrote:

 To be exactly, it compiles with make, but sudo make install fails.

 On Wed, May 20, 2015 at 11:54 AM, Ariel Molina ar...@edis.mx 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
 • Git clone qt5
  • perl init-repository
  • ./configure -xplatform macx-ios-clang -release -sdk iphoneos
  • 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



 --
 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


 This email and any files transmitted with it from The Charles Machine
 Works, Inc. are confidential and intended solely for the use of the
 individual or entity to which they are addressed. If you have received this
 email in error please notify the sender. Our company accepts no liability
 for the contents of this email, or for the consequences of any actions
 taken on the basis of the information provided, unless that information is
 subsequently confirmed in writing. Please note that any views or opinions
 presented in this email are solely those of the author and do not
 necessarily represent those of the company. Finally, the recipient should
 check this email and any attachments for the presence of viruses. The
 company accepts no liability for any damage caused by any virus transmitted
 by this email.




-- 
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


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

2015-05-22 Thread Ariel Molina
Well the last lines are

/Users/edis/projects/qt5/qtbase/bin/qmake -o Makefile xmlpatterns.pro
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Device
 install
 xcodebuild install -scheme xmlpatterns -sdk iphoneos -configuration Release
 Build settings from command line:
 SDKROOT = iphoneos8.3
 === BUILD AGGREGATE TARGET Qt Preprocess OF PROJECT xmlpatterns WITH
 CONFIGURATION Release ===
 Check dependencies
 PhaseScriptExecution Qt\ Qmake .obj/xmlpatterns.build/Release-iphoneos/Qt\
 Preprocess.build/Script-5E618435888B9D49F8540165.sh
 cd /Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns
 /bin/sh -c
 \/Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns/.obj/xmlpatterns.build/Release-iphoneos/Qt\
 Preprocess.build/Script-5E618435888B9D49F8540165.sh\
 make[5]: `xmlpatterns.xcodeproj/project.pbxproj' is up to date.
 PhaseScriptExecution Qt\ Preprocessors
 .obj/xmlpatterns.build/Release-iphoneos/Qt\
 Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh
 cd /Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns
 /bin/sh -c
 \/Users/edis/projects/qt5/qtxmlpatterns/tools/xmlpatterns/.obj/xmlpatterns.build/Release-iphoneos/Qt\
 Preprocess.build/Script-7EF0942E79C014DCEC8976BC.sh\
 make[5]: Nothing to be done for `preprocess'.
 === BUILD TARGET xmlpatterns OF PROJECT xmlpatterns WITH CONFIGURATION
 Release ===
 Check dependencies
 Code Sign error: No provisioning profiles found: No non–expired
 provisioning profiles were found.
 CodeSign error: code signing is required for product type 'Application' in
 SDK 'iOS 8.3'
 ** INSTALL FAILED **

 The following build commands failed:
 Check dependencies
 (1 failure)
 make[4]: *** [iphoneos-release-install] Error 65
 make[3]: *** [iphoneos-install] Error 2
 make[2]: *** [sub-xmlpatterns-install_subtargets] Error 2
 make[1]: *** [sub-tools-install_subtargets] Error 2
 make: *** [module-qtxmlpatterns-install_subtargets] Error 2
 iMacEDIS:qt5 edis$


And that's it.

I dont know why it says it cannot find provisioning profiles. Specially
with xmlpatterns, and other do not have problems.

Ariel

On Wed, May 20, 2015 at 12:16 PM, Edward Sutton edward.sut...@subsite.com
wrote:

  I understand the config commands used to build Qt packages are here:

  http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config


  Qt iOS Enterprise:


 http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_ios_enterprise

  -commercial -confirm-license -debug-and-release -nomake tests -nomake
 examples -qt-zlib -qt-libjpeg -qt-libpng -xplatform macx-ios-clang
 -no-sql-mysql

  I can build but “sudo make install” fails. I do not know what. Something
 with xml patterns possible?

 -Ed







  On May 20, 2015, at 11:54 AM, Ariel Molina ar...@edis.mx 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


  This email and any files transmitted with it from The Charles Machine
 Works, Inc. are confidential and intended solely for the use of the
 individual or entity to which they are addressed. If you have received this
 email in error please notify the sender. Our company accepts no liability
 for the contents of this email, or for the consequences of any actions
 taken on the basis of the information provided, unless that information is
 subsequently confirmed in writing. Please note that any views or opinions
 presented in this email are solely those of the author and do not
 necessarily represent those of the company. Finally, the recipient should
 check this email and any attachments for the presence of viruses. The
 company accepts no liability for any damage caused by any virus transmitted
 by this email.




-- 
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


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

2015-05-22 Thread Ariel Molina
Hi,

I solved the problem, just want to share,

On Wed, May 20, 2015 at 12:16 PM, Edward Sutton edward.sut...@subsite.com
wrote:

  I understand the config commands used to build Qt packages are here:

  http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config


I just followed your suggestion but using opensource [1], please Have a
look at my configure output [2].

It installed on /usr/local

   1. make -j8, took two hours, went OK
   2. cd qtbase,  sudo make install, OK
   3. cd qtimageformats, sudo make install, OK
   4. cd qtquick1, sudo make install, OK
   5. cd qtquickcontrols, sudo make install OK
   6. cd qtdeclarative, FAILS: http://i.imgur.com/QOAaEgJ.png

The error is:
*=== BUILD TARGET xmlpatterns OF PROJECT xmlpatterns WITH CONFIGURATION
Debug ===*
Check dependencies
Code Sign error: No provisioning profiles found: No non–expired
provisioning profiles were found.
CodeSign error: code signing is required for product type 'Application' in
SDK 'iOS 8.3'


Just out of curiosity I went into these (in exact order)

   - qtxmlpatterns, FAILS with same error
   - qtmultimedia, qtgraphicaleffects, qtsensors, qtsvg, qtcanvas3d,
   qtlocation, qtwebchannel, qtwebsockets, qt3d, OK

However I found a fix, I went into qt/xmlpatterns/tools/xmlpatterns and did
a normal non-sudo make, and it found my developer credentials. There, make
install worked. But not on the parent, qtxmlpatterns.

So the fix i implemented is I went into /usr/local and changed ownership of
Qt-5* to my user, then did all installs without sudo, then it finds my
Apple Developer credentials, it installs cleanly. Problem solved :)

Thank you for your time!

Ariel

[1]
http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_ios_opensource
[2] http://pastebin.com/83vtcLzH
[3] Fails snapshot: http://i.imgur.com/QOAaEgJ.png
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


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

2015-05-20 Thread Edward Sutton
I understand the config commands used to build Qt packages are here:

http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config


Qt iOS Enterprise:

http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_ios_enterprise

-commercial -confirm-license -debug-and-release -nomake tests -nomake examples 
-qt-zlib -qt-libjpeg -qt-libpng -xplatform macx-ios-clang -no-sql-mysql

I can build but “sudo make install” fails. I do not know what. Something with 
xml patterns possible?

-Ed







On May 20, 2015, at 11:54 AM, Ariel Molina 
ar...@edis.mxmailto:ar...@edis.mx 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.mxhttp://edis.mx/
___
Development mailing list
Development@qt-project.orgmailto:Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

This email and any files transmitted with it from The Charles Machine Works, 
Inc. are confidential and intended solely for the use of the individual or 
entity to which they are addressed. If you have received this email in error 
please notify the sender. Our company accepts no liability for the contents of 
this email, or for the consequences of any actions taken on the basis of the 
information provided, unless that information is subsequently confirmed in 
writing. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the 
company. Finally, the recipient should check this email and any attachments for 
the presence of viruses. The company accepts no liability for any damage caused 
by any virus transmitted by this email.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Compiling for iOS, qtdeclarative and others fail

2015-05-20 Thread Ariel Molina
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


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


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

2015-05-20 Thread Ariel Molina
To be exactly, it compiles with make, but *sudo make install* fails.

On Wed, May 20, 2015 at 11:54 AM, Ariel Molina ar...@edis.mx 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




-- 
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


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

2015-05-20 Thread Edward Sutton
On May 20, 2015, at 12:55 PM, Ariel Molina 
ar...@edis.mxmailto:ar...@edis.mx wrote:

To be exactly, it compiles with make, but sudo make install fails.

We are in “the same boat” then.

That is the same issue I have building and installing  Qt 5.5 iOS.

New Qt 5.5 snapshots are available if that may help:

windows: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_62/
linux: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-20_89/
mac: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_74/

Unfortunately the 2015-05-19_74 Qt 5.5 
snapshohttp://download.qt.io/snapshots/qt/5.5/5.5.0-beta/2015-05-19_74/t does 
not have the Xcode related fixes I was hoping will arrive *before* Qt 5.5 
release::

• QTBUG-45966 - iOS: XCode 6.3.1 Crashes with QtCreator Generated XCode 
Projectshttps://bugreports.qt.io/browse/QTBUG-45966
• QTBUG-45826 - 5.5 iOS: compilation error when compiling 
exampleshttps://bugreports.qt.io/browse/QTBUG-45826


-Ed




On May 20, 2015, at 12:55 PM, Ariel Molina 
ar...@edis.mxmailto:ar...@edis.mx wrote:

To be exactly, it compiles with make, but sudo make install fails.

On Wed, May 20, 2015 at 11:54 AM, Ariel Molina 
ar...@edis.mxmailto:ar...@edis.mx 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
• Git clone qt5
• perl init-repository
• ./configure -xplatform macx-ios-clang -release -sdk iphoneos
• 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



--
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

This email and any files transmitted with it from The Charles Machine Works, 
Inc. are confidential and intended solely for the use of the individual or 
entity to which they are addressed. If you have received this email in error 
please notify the sender. Our company accepts no liability for the contents of 
this email, or for the consequences of any actions taken on the basis of the 
information provided, unless that information is subsequently confirmed in 
writing. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the 
company. Finally, the recipient should check this email and any attachments for 
the presence of viruses. The company accepts no liability for any damage caused 
by any virus transmitted by this email.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development