Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Publishing on the App Store using Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Publishing on the App Store using Qt Creator

Scheduled Pinned Locked Moved Mobile and Embedded
22 Posts 5 Posters 6.8k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • benlauB Offline
    benlauB Offline
    benlau
    Qt Champions 2016
    wrote on last edited by benlau
    #9
    1. Please verify the argument of spec. Is that " -spec macx-ios-clang" ?

    2. Why you need to add extra library in XCode? But that is not needed in Qt Creator?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      philippeb8
      wrote on last edited by
      #10
      1. No it's macx-g++

      2. The libraries I'm adding are from subdirs in my own project so they're okay.

      benlauB 1 Reply Last reply
      0
      • P philippeb8
        1. No it's macx-g++

        2. The libraries I'm adding are from subdirs in my own project so they're okay.

        benlauB Offline
        benlauB Offline
        benlau
        Qt Champions 2016
        wrote on last edited by
        #11

        @philippeb8 Then you should try " -spec macx-ios-clang" .

        P 1 Reply Last reply
        0
        • P Offline
          P Offline
          philippeb8
          wrote on last edited by
          #12

          Thanks I will try that tonight

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #13

            Just to mention it, make sure you have the right to publish your app on the app store.
            Citation http://www.qt.io/download/ : Community license -> Mobile app distribution through public app stores -> Prohibited by Apple iOS App Store terms and conditions.

            P 1 Reply Last reply
            0
            • mrdebugM Offline
              mrdebugM Offline
              mrdebug
              wrote on last edited by
              #14

              Are you using qml?
              I have a similar problem. Please, have a look:
              https://bugreports.qt.io/browse/QTBUG-44705

              Need programmers to hire?
              www.labcsp.com
              www.denisgottardello.it
              GMT+1
              Skype: mrdebug

              P 1 Reply Last reply
              0
              • ? A Former User

                Just to mention it, make sure you have the right to publish your app on the app store.
                Citation http://www.qt.io/download/ : Community license -> Mobile app distribution through public app stores -> Prohibited by Apple iOS App Store terms and conditions.

                P Offline
                P Offline
                philippeb8
                wrote on last edited by
                #15

                @kalsan Interesting... thanks

                1 Reply Last reply
                0
                • mrdebugM mrdebug

                  Are you using qml?
                  I have a similar problem. Please, have a look:
                  https://bugreports.qt.io/browse/QTBUG-44705

                  P Offline
                  P Offline
                  philippeb8
                  wrote on last edited by
                  #16

                  @mrdebug No I am not using QML but native widgets

                  1 Reply Last reply
                  0
                  • benlauB benlau

                    @philippeb8 Then you should try " -spec macx-ios-clang" .

                    P Offline
                    P Offline
                    philippeb8
                    wrote on last edited by
                    #17

                    @benlau When I do that the folder project.xcodeproj is not updated... and my app still crashes. Only after using "-spec macx-g++" it gets updated.

                    P 1 Reply Last reply
                    0
                    • P philippeb8

                      @benlau When I do that the folder project.xcodeproj is not updated... and my app still crashes. Only after using "-spec macx-g++" it gets updated.

                      P Offline
                      P Offline
                      philippeb8
                      wrote on last edited by
                      #18

                      @philippeb8 Note that my project is recursive and I think the .xcodeproj is generated inside another folder. But I still have the same crash.

                      P 1 Reply Last reply
                      0
                      • P philippeb8

                        @philippeb8 Note that my project is recursive and I think the .xcodeproj is generated inside another folder. But I still have the same crash.

                        P Offline
                        P Offline
                        philippeb8
                        wrote on last edited by
                        #19

                        @philippeb8 I am going to try to merge all of my subfolders into one giant project

                        P 1 Reply Last reply
                        0
                        • P philippeb8

                          @philippeb8 I am going to try to merge all of my subfolders into one giant project

                          P Offline
                          P Offline
                          philippeb8
                          wrote on last edited by
                          #20

                          @philippeb8 Nope; I have exactly the same crash. I see that Xcode adds threads and Qt is calling OpenGL routines even if there is no OpenGL module added... I will try to add qDebug() statements

                          P 1 Reply Last reply
                          0
                          • P philippeb8

                            @philippeb8 Nope; I have exactly the same crash. I see that Xcode adds threads and Qt is calling OpenGL routines even if there is no OpenGL module added... I will try to add qDebug() statements

                            P Offline
                            P Offline
                            philippeb8
                            wrote on last edited by
                            #21

                            @philippeb8 So my app works when I "profile" it but it crashes when I "run" it.

                            BTW the subdir template failure to convert to a .xcodeproj is a bug on Qt's end

                            P 1 Reply Last reply
                            0
                            • P philippeb8

                              @philippeb8 So my app works when I "profile" it but it crashes when I "run" it.

                              BTW the subdir template failure to convert to a .xcodeproj is a bug on Qt's end

                              P Offline
                              P Offline
                              philippeb8
                              wrote on last edited by
                              #22

                              @philippeb8 It works now! I had to disable the GPU Frame Capture in the Run Scheme

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved