Results 1 to 2 of 2

Thread: Setting default resource search paths @rpath to @executable_path/../

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Setting default resource search paths @rpath to @executable_path/../

    Here's what I use for my app bundle projects:
    Qt Code:
    1. QMAKE_LFLAGS = -Wl,-rpath,@executable_path/../Frameworks
    To copy to clipboard, switch view to plain text mode 
    I then run macdeployqt to copy the frameworks/libraries/plugins into the app bundle. Works great, no need to run install_name_tool separately.
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

  2. The following user says thank you to jefftee for this useful post:

    zczlmes (29th July 2016)

Similar Threads

  1. Getting and setting default language from source
    By Coder5546 in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2014, 11:16
  2. Setting default item in a QCombobox
    By graffy in forum Qt Programming
    Replies: 4
    Last Post: 14th August 2013, 12:13
  3. Replies: 2
    Last Post: 2nd March 2012, 07:07
  4. Setting a widget's QPalette to default?
    By Spectralist in forum Newbie
    Replies: 2
    Last Post: 29th December 2009, 21:47
  5. Replies: 9
    Last Post: 9th April 2009, 06:49

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.