Search code examples
xcodeqtqmake

Getting QMake to generate a proper .app


I have a large exiting C++ project involving:

  • 4 applications
  • 50+ libraries
  • 20+ third party libraries

The project uses QMake (part of Trolltech's Qt) to build the production version on Linux, but I've been playing around at building it on MacOS.

I can build in on MacOS using QMake just fine but I'm having trouble producing the final .app. It needs collecting all the third party frameworks and dynamic libraries, all the project's dynamic libraries and making sure the application finds them.

I've read online about using install_name_tool but was wondering if there's a process to automate it.

(Maybe the answer is to use XCode, see related question, but it would have issues with building uic and moc)

Thanks


Solution

  • I'm sure this could be of some great help for you :

    deployqt

    Hope this helps !