Results 1 to 4 of 4

Thread: Mac-specific issues for qmake and framework dependencies

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Mac-specific issues for qmake and framework dependencies

    I guess you will have to run install_name_tool in any case: Your application searches for the framework at some location: Either in /Library/Frameworks or inside the bundle. But even for searching inside the bundle, the path has to be adopted to something like @bundle_path.
    It's nice to be important but it's more important to be nice.

  2. #2
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mac-specific issues for qmake and framework dependencies

    Thanks for the reply, I have now a bash script that will run otool and then install_name_tool and does the job fine, it is even applied through a command inside my qmake file.

    The only issue now is that after running qmake and make, I have to run make macinstall (the name of the target) as I have not been able to automate the process any further than that.

    I guess I sort of figured this must be a common problem and that I had overlooked something.

  3. #3
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Mac-specific issues for qmake and framework dependencies

    Just an idea to automate further:
    If you are using the subdirs-template in your topmost directory, you can include a directory that just contains a makefile. QMake will execute that makefile. This makefile could be used to trigger your macinstall-task.
    It's nice to be important but it's more important to be nice.

  4. The following user says thank you to axeljaeger for this useful post:

    jiaco (31st July 2010)

Similar Threads

  1. Issues with the Graphics View Framework
    By lni in forum Qt Programming
    Replies: 8
    Last Post: 26th April 2009, 14:13
  2. qmake project dependencies
    By akos.maroy in forum Newbie
    Replies: 1
    Last Post: 15th June 2008, 13:52
  3. Qmake + Xcode + Dependencies?
    By amnesiac in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2008, 13:45
  4. Adding library dependencies to qmake
    By sadastronaut in forum Installation and Deployment
    Replies: 2
    Last Post: 18th March 2008, 17:06
  5. QMAKE: Specifying Build Dependencies
    By JohnSuykerbuyk in forum Qt Programming
    Replies: 1
    Last Post: 5th May 2006, 09:46

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.