Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT and sandboxing apps for Mac OS ?
Forum Updated to NodeBB v4.3 + New Features

QT and sandboxing apps for Mac OS ?

Scheduled Pinned Locked Moved General and Desktop
15 Posts 4 Posters 9.1k Views 1 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.
  • E Offline
    E Offline
    eric_vi
    wrote on last edited by
    #1

    Hello,

    it sounds like Apple is again changing some rules and will make bunch of apps not working in the future with this sandboxing.

    Our Apps runs on Mac OS X.6 using QT... What can we do to get our qt apps sandboxed?

    Thank you for all your input

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      Any pointers with some further infos about that sandbox thingie? A quick search on google with "os x lion sandbox" yields nothing promising to read...

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eric_vi
        wrote on last edited by
        #3

        if you are an apple developer you can watch this video..

        https://developer.apple.com/videos/wwdc/2011/#introducing-xpc

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Thank's - I'll have a look tomorrow.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Cyttorak
            wrote on last edited by
            #5

            Any news about that? I think App Store is a very important thing for Qt and it should do its best to make publishing there a very easy step, as easy as pushing a button on Qt Creator.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eric_vi
              wrote on last edited by
              #6

              i have not received any answer on this one... If you use QT to do apps for the Apple store deadline is November 1st.

              Does anyone knows how to have that to work?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Cyttorak
                wrote on last edited by
                #7

                So after November 1st Qt cannot be used to send apps to mac store due to that Lion's sandboxing? And Qt staff has nothing to say?

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on last edited by
                  #8

                  This is not an official channel for announcements. You might want to check the "bug tracker":https://bugreports.qt.nokia.com for any issues on that, for example "QTBUG-21609":https://bugreports.qt.nokia.com/browse/QTBUG-21609. If it is important for you, vote it up and/or leave a comment over there. This way the Qt staff gets more attention for the issue than in this forum (which is monitored only by a few Qt devs).

                  http://www.catb.org/~esr/faqs/smart-questions.html

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    Cyttorak
                    wrote on last edited by
                    #9

                    Thanks Volker, I already voted that "bug". What wonders me is that searching on internet "Qt lion sand boxing" I only get eric_vi questions in 2 or 3 places, and no one has an answer to this (I really think) very important issue of Qt. I was thinking of using Qt to do an app for mac store but with that sandbox thing it seems I can't use it :(

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      eric_vi
                      wrote on last edited by
                      #10

                      well one of the big issue and i posted that elsewhere ... there is no way to move a project from qt to xcode 4 on Lion, and from what i see i am not sure you can sandbox correctly without xcode 4 and lion.

                      According to the answer it seems .pro to xcode4 is under way with 4.8 RC, question is when it will be available so we can start working and testing and will it be really working(!) because november 1st is like tomorrow!

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        goetz
                        wrote on last edited by
                        #11

                        A release date for Qt 4.8 has not been announced yet.

                        The Lion/sandbox issue wasn't a topic here on DevNet (despite this thread of course), so it seems that only few developers seem to target the mac appstore.

                        I understand that this situation is uncomfortable for you.

                        Regarding XCode 4 support, are there any special means to support sandboxing? I never tried it myself, but I'd guess that at least the command line (Makefiles) should work?

                        http://www.catb.org/~esr/faqs/smart-questions.html

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          eric_vi
                          wrote on last edited by
                          #12

                          there are many qt apps on the apple store that is why i am surprised there are no more people stressed out!

                          regarding special means to support sandboxing well i am not sure about it.... but sandboxing app seems to be a lion feature according to what i understand ( meaning that Apple are pushing developers and users to adopt their new OS in less than 6 months after release which is an absolute shame, but people tends to say this is genius those days)... xcode 3 does not work correctly on Lion, so remains XCode 4.. meaning the qt to xcode 4 better work seamlessly to avoid annoying hacking...then it seems from the bug report there are other issues.. but this i have not experienced yet since i am stuck in this port and cannot experiment more.

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            Cyttorak
                            wrote on last edited by
                            #13

                            Any advance in this issue, eric?

                            Thank you :)

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              sword726
                              wrote on last edited by
                              #14

                              I get a mail form apple, the deadline changed.

                              Sandboxing your app is a great way to protect systems and users by limiting the resources apps can access and making it more difficult for malicious software to compromise users' systems.
                              As of March 1, 2012 all apps submitted to the Mac App Store must implement sandboxing. Enabling the default sandbox environment is as simple as checking the Enable Entitlements checkbox in Xcode target settings, allowing you to begin sandboxing your app.
                              If your app requires access to sandboxed system resources you will need to include justification for using those entitlements as part of the submission to the Mac App Store. Apps that are being re-engineered to be sandbox compatible may request additional temporary entitlements. These entitlements are granted on a short-term basis and will be phased out over time.

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                Cyttorak
                                wrote on last edited by
                                #15

                                Would it be possible to not use QFileDialog and instead write a class to use directly the needed cocoa API in objective-C? It should work, shouldn't it? It doesn't seem a too much work, altought if defeats Qt's purpose. A link explaining how to mix C++ and Objective-C in a Qt project: http://el-tramo.be/blog/mixing-cocoa-and-qt

                                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