Results 1 to 6 of 6

Thread: Please critique my application directory function.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Posts
    8
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Please critique my application directory function.

    Hi,

    You're correct. If the application is deployed to the default Applications folder or other default app directory it wont work.
    However I am writing a host for my gamelib RaptorGL.com. So the app wont be in an application folder rather in the game project directory. When a suer supplied settings.json can't be loaded it loads a default one from Resources, which btw is rockin my world

    So with that background do you see anything in there that could cause issues in other platforms?

    Thank you for your help

    Laszlo

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

    Default Re: Please critique my application directory function.

    I told you, QDir::current() won't work.
    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.


Similar Threads

  1. Application directory path on linux (shortcut)
    By MadBear in forum Qt Programming
    Replies: 2
    Last Post: 11th March 2018, 20:18
  2. How to find Application Data directory?
    By Teuniz in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2013, 14:02
  3. Replies: 0
    Last Post: 15th April 2011, 11:03
  4. Replies: 5
    Last Post: 15th August 2010, 21:34
  5. application directory path on mac
    By munna in forum Qt Programming
    Replies: 0
    Last Post: 27th January 2007, 11:45

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
  •  
Qt is a trademark of The Qt Company.