Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 61 to 80 of 131

Thread: Qt Apps banned from Mac App Store?

  1. #61
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    I don't know what that statement actually means --- I have not found a way to stop my Macintosh application from creating the trolltech.plist in ~/Library/Preferences when it runs.

    If anyone has step-by-step instructions for how to accomplish this (without having to become a Qt Guru), I'd really appreciate it --- our app got rejected for specifically this issue and we'd love to get it accepted.

    Quote Originally Posted by wysota View Post
    Well, maybe you can't do it. It works pretty well for me. I can move my ~/.config/Trolltech.conf file to a directory pointed by qt.conf and Qt will happily use it.

  2. #62
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt Apps banned from Mac App Store?

    ok lads the biggest problem here is that Apple only want the appstore to contain apps written with there libs/frameworks/tools.
    Also Qt was not originally written for mac os / ios, and neither should it be in my opinion.
    i would only consider writing a Qt app for the ipod touch or iphone if and when it was fully supported, I know it'll never happen as long as mr jobs is alive so i'm not losing any sleep over it now.
    wysota, if you could furnish us with the method you use to change the paths using qt.conf, i would appreciate it greatly, you've helped me before and as it happens i totally agree with you on this matter.
    oliver, i do not wish to be rude or crass, however i find wysota's grasp of english to be excellent, and so i don't understand how you could have gotten so incandescent.
    oh and chaps, if you wish to contribute to Qt then write the source code and submit it to trolltech/nokia for approval and/or inclusion, bitching (apologies for the language) will get us all exactly nowhere
    agree with me or not people it is your choice, and as that is one of the underlying principles of the non commercial version of qt, and linux, i'll keep using them in that spirit.
    l8r peeps

  3. #63
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    Does Apple actually say anythere that Qt-based apps are banned?

    Assuming they have not said that, is there any progress with a version of Qt that will be compliant with the required file locations?

    ok lads the biggest problem here is that Apple only want the appstore to contain apps written with there libs/frameworks/tools.

  4. #64
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    There is another thread about Mac App Store where someone claims his Qt app got accepted without modifying Qt in any way. So the file discussed here must have been present there as well. This is in conflict with what people claim here, maybe you should come up with a verified version of the truth instead of chasing ghosts.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #65
    Join Date
    Feb 2010
    Location
    Wokingham, United Kingdom
    Posts
    36
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt Apps banned from Mac App Store?

    Does Apple actually say anythere that Qt-based apps are banned?
    I don't believe that apple have banned Qt. However the point stands, apples platforms are proprietary and they sell access to the development framework to make money, that is after all what they are in business for. Therefore they are bound to want to discourage people from developing apps that get around this by using different tools/libs. This means that apple are bound to place strict restrictions on what enters the app store making it easier for a lot of companies/people just to buy apples tools/licenses. hope that made some sense. IMO projects such as qt should remain free, an interesting subject since it's owned by nokia who as i'm sure you are all aware just signed a deal with microsoft for windows phone 7 to be on nokia's handsets!!!

  6. #66
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    Quote Originally Posted by janorcutt View Post
    I don't believe that apple have banned Qt. However the point stands, apples platforms are proprietary and they sell access to the development framework to make money, that is after all what they are in business for. Therefore they are bound to want to discourage people from developing apps that get around this by using different tools/libs.
    long time ago when i was developing on Mac with Qt, we always needed XCode toolset for compiling Qt apps. So if this is true till this date, i believe apple will not hate qt.

  7. #67
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    I have observed that if I create a qt.conf file in the Resources subfolder of my application and just put the single line [paths] in it, then my app no longer created the com.trolltech.plist file, at least not in ~/Library/Preferences

    I haven't determined if it puts it somewhere else (but I haven't found it anywhere else so far) and I'm wondering if in fact this solves the problem on the macintosh?

  8. #68
    Join Date
    Feb 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    Quote Originally Posted by dhjdhj View Post
    I have observed that if I create a qt.conf file in the Resources subfolder of my application and just put the single line [paths] in it, then my app no longer created the com.trolltech.plist file, at least not in ~/Library/Preferences

    I haven't determined if it puts it somewhere else (but I haven't found it anywhere else so far) and I'm wondering if in fact this solves the problem on the macintosh?
    i *have* a qt.conf file in the Resources folder with this content
    Qt Code:
    1. [Paths]
    2. Plugins = PlugIns
    To copy to clipboard, switch view to plain text mode 
    but if i put what you suggest ([paths] or [Paths] single line) it still creates com.trolltech.plist under ~/Library/Preferences

    has anyone come up with a _real_ solution without having to compile all qt again?

  9. #69
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    Could someone verify if the trick with $HOME works or not?

    If someone donates enough money for me to buy a Mac, I'll check it myself
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. #70
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    It does not --- I tried modifying my main function to temporarily set the PATH per your example earlier but it made no difference (and I don't have any plugins in my app).

  11. #71
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    It's not about PATH, it is about HOME. What did you set it to?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  12. #72
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    I just mistyped the last entry --- I did in fact use HOME.

  13. #73
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    If you change HOME then there is no chance the file can appear in the offending directory simply because your app will not know where your home dir is. Your app may crash or something but it shouldn't write to this location.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. #74
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    I tried the suggestion as described at the bottom of your post (http://www.qtcentre.org/threads/3529...577#post173577)

  15. #75
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    Ok but what did you set HOME to? What was the value of path variable that you used?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  16. #76
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    /Users/dhj/scratch/Qt

    (Made sure that those subfolders already existed as well)

  17. #77
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    What does this return?
    Qt Code:
    1. #include <QtCore>
    2.  
    3. int main(){
    4. qputenv("HOME", "/Users/dhj/scratch/Qt");
    5. qDebug() << QDir::homePath();
    6. return 0;
    7. }
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  18. #78
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    As expected

    "/Users/dhj/scratch/Qt"

  19. #79
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Apps banned from Mac App Store?

    Ok, and this one?
    Qt Code:
    1. #include <QtCore>
    2.  
    3. int main(){
    4. qputenv("HOME", "/Users/dhj/scratch/Qt");
    5. QSettings settings(QSettings::NativeFormat, QSettings::UserScope, "Trolltech");
    6. qDebug() << settings.fileName();
    7. return 0;
    8. }
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  20. #80
    Join Date
    Jul 2009
    Posts
    41
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Apps banned from Mac App Store?

    "/Users/dhj/scratch/Qt/Library/Preferences/com.trolltech.plist"


    Added after 6 minutes:


    Let me add that if I leave out the 'return' and so continue with my main application (AND there is no qt.conf in the Resources folder), then the com.trolltech.plist is still crated in ~/Library/Preferences

    If I use the qt.conf trick, then I don't have to play with the environment.
    Last edited by dhjdhj; 19th February 2011 at 15:44.

Similar Threads

  1. Mac App Store
    By serkol in forum Installation and Deployment
    Replies: 20
    Last Post: 1st December 2011, 12:29
  2. Replies: 0
    Last Post: 26th June 2009, 17:53
  3. How to do Qt UI in a DLL used by Qt / Non-QT apps
    By cboles in forum Qt Programming
    Replies: 1
    Last Post: 25th August 2008, 22:02
  4. QT 4.4: CLI apps?
    By Hossie in forum Qt Programming
    Replies: 6
    Last Post: 19th May 2008, 11:37
  5. Qt-Apps.org
    By jpn in forum General Discussion
    Replies: 1
    Last Post: 15th December 2006, 18:20

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.