#3461 closed Enhancement (fixed)
Build instructions for Qt Client on OS X
Reported by: | nnc | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Qt Client | Version: | 2.03 |
Severity: | Normal | Keywords: | qt build docs |
Cc: |
Description
I tried following instructions in qt/README.txt, but that didn't get me very far. I guess those instructions apply to Linux users?
I have Xcode 3.2.3, Qt SDK 4.6.3 and Transmission from svn trunk (r11078 at the moment). Now what? My interpretation of the qt/README.txt was to build Transmission.app first via Xcode project and then run "qmake qtr.pro". But didn't work out very well. There is an issue of missing pkg-config, but even when I add macport's pkg-config to the path, it fails to find a number of packages.
Does anyone know how to build Qt Client on OS X?
I know I was able to build it on OS X 10.5.x back when Qt Client was very young (~ a year ago) without much trouble IIRC.
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by charles
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 13 years ago by nnc
After a bit of fiddling, I was able to get Qt Client to build on OS X. This works on my system. It may or may not work on other systems. But in case anyone else wants to build Qt Client on Mac OS X, follow these steps:
- Checkout Transmission source from svn
- Build Transmission.app in Release mode via included Xcode project file. This is just so we can get all the libs for linking into the Qt Client
- Download the attached qtr-macx.pro file into the qt directory of checked out transmission sources
- Open a terminal and cd into the qt directory
- Run "qmake qtr-macx.pro". This will generate new Xcode project file in that same directory
- Open that Xcode project file, select Release mode in Xcode and build the project
- If everything went well, you should now have a transmission-qt.app in qt directory
Ideally, none of this qmake business would be needed and Qt Client would be added as another target in main Xcode project file (one that is used to build Transmission.app, transmission-daemon, etc.) but I have no idea how to do that. Is that something that is feasible based on the qmake generated Xcode project file?
comment:3 Changed 13 years ago by nnc
- Resolution invalid deleted
- Status changed from closed to reopened
comment:4 Changed 13 years ago by charles
FWIW I've given you wiki permissions, in case you want to add this information to the wiki too.
comment:5 follow-up: ↓ 6 Changed 13 years ago by charles
- Resolution set to fixed
- Status changed from reopened to closed
Fixed in trunk by rr11102
Part of the issue here is that none of the development team is building the Qt client on OS X afaik, so I'm not sure that any of the developers can help you.
You might be better off asking in the forums, or in the freenode #qt channel. The qt client is pretty straightforward about just using a standard Qt .pro file. How that works on xcode, I don't know.
This is more of a support request than a bug report or enhancement request, but I see your point. If you do find an answer for this, please ping me with details and I'll happily update the README file.