Compile Qt for Mac statically
Hello,
I'm a complete PC person and now I need to compile a Qt program for Mac. I need to do it statically - the program should run on any Mac without depending on Qt being installed. I was wondering if someone could help me with this. I was able to borrow a Mac from a friend for just a few days to figure this out. Do I need to compile Qt from source code on the Mac? Does anyone have instructions how to do this?
Thank you in advance!
Re: Compile Qt for Mac statically
You will need to build your project to mac OS, so you will need a Qt installed on atleast the computer you will use, then before building the project configure Qt statically first with the support of course of the plugin you use.
Re: Compile Qt for Mac statically
Thanks!
I downloaded Qt for Mac: (ftp://ftp.trolltech.com/qt/source/qt...urce-4.4.1.dmg) and installed it. Now I have a few folders and files where I downloaded everything. What do I do next, what file should I find? I'm not finding anything analogous to configure.exe. Also I don't know how to access command prompt.
Sorry about the beginner questions but I have no expereience with Mac and it's all very different from Windows. Are there step by step instructions somewhere?
Re: Compile Qt for Mac statically
The .dmg is a binary install so you just be able to double-click. To install from source, download the .tar. Once unzipped you can run configure.
Re: Compile Qt for Mac statically
Does anyone know how qmake functions on a Mac? Can I access it through the terminal and use it just like I use it for windows (through command prompt)? Or do people usually use Xcode to compile for Mac?