Results 1 to 6 of 6

Thread: Help - App reference framework which are missing

  1. #1
    Join Date
    Sep 2013
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Help - App reference framework which are missing

    I am trying to submit my first app to appstore, the app was built with QT, then created the Xcode file
    and continued with Xcode the signing and submitting process
    It has been rejected, stating the following:
    2.2
    The app references frameworks which are missing. This may lead to unexpected bugs or undefined behavior. The missing frameworks are:
    @

    '@@HOMEBREW_PREFIX@@/lib/QtSql.framework'
    '@@HOMEBREW_PREFIX@@/lib/QtCore.framework'
    '@@HOMEBREW_PREFIX@@/lib/QtGui.framework'
    '@@HOMEBREW_PREFIX@@/lib/QtNetwork.framework'
    @
    How can i solve it?
    In Xcode->Traget-> Frameworks & libraries -> I see the 4 frameworks

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Help - App reference framework which are missing

    You need to ship the frameworks as part of your app bundle. You shouldn't depend on the user having to have home brew installed either.

    For example, I use the following when linking:

    Qt Code:
    1. QMAKE_LFLAGS = -Wl,-rpath,@executable_path/../Frameworks
    To copy to clipboard, switch view to plain text mode 

    When you link your application with the above in your profile, it looks for the Qt frameworks relative to your app's executable in the app bundle at execution time. You can see what dependencies your app has by using the otool command, for example "otool -L /path/to/your/app/executable".

    Also, it seems you might not be using macdeployqt. It copies the Qt frameworks into your app bundle, etc.

    Good luck.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  3. #3
    Join Date
    Sep 2013
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Re: Help - App reference framework which are missing

    I am new to the deploy process in MAC. I converted the pro file to an XCode and compiled with xcode. Because xcode can manage codesigning and upload the app it self. It compiled correct. But the Frameworks are missing.

    In xcode, I ve the following:
    1- Target Dependencies: Should i add the frameworks here?
    2- Embed binaries: or Should i add the frameworks here?
    3- I have Qt Qmake, where this line is given:
    make -C /Volumes/DATA/Activate_Software/proj/login -f 'Proj.xcodeproj/qt_makeqmake.mak'
    4- I have Qt Preprocessor, where it is written in it
    make -C /Volumes/DATA/Activate_Software/proj/login -f 'Proj.xcodeproj/qt_preprocess.mak'

    How can i add the flag you gave to me?

  4. #4
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Help - App reference framework which are missing

    Quote Originally Posted by sherifomran View Post
    How can i add the flag you gave to me?
    Sorry, I can't help you with xcode. The flag I gave you is what I just in the qmake profile (*.pro). I don't use xcode to build my Qt apps at all. It looks horribly complex to me...

    I only use Qt Creator and a couple of bash scripts that I write when building apps on my Mac. Much more straight forward in my opinion, but to each his own!
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  5. #5
    Join Date
    Sep 2013
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Re: Help - App reference framework which are missing

    OK .. could you please guide me to upload the app to appstore .. I want the simplest straightforward method .. my QT is 4.8.7 with ElCapitain.
    The produced app file with QT has the Frameworks embeded
    Q- how to enable sandbox in the info file?
    Q- restructure frameworks and recodesign it
    Q- how to verify the application and submit it?

  6. #6
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Help - App reference framework which are missing

    Sorry, I haven't ever submitted anything to the app store, however, I do recall reading a couple of articles from people that have. Google "qt app store submission" and I think you will find a couple of helpful posts.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Similar Threads

  1. CAD Framework
    By qtoptus in forum Qt-based Software
    Replies: 10
    Last Post: 12th February 2020, 19:29
  2. Does Qt is the best framework for c++?
    By rezas1000 in forum Newbie
    Replies: 4
    Last Post: 8th August 2014, 22:33
  3. Replies: 12
    Last Post: 30th December 2010, 11:37
  4. CAD GUI Framework
    By qtoptus in forum Qt-based Software
    Replies: 9
    Last Post: 4th October 2010, 14:06
  5. Data structure reference in Model/View Framework
    By jimc1200 in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2009, 21:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.