Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#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


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 first via Xcode project and then run "qmake". 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) (1.6 KB) - added by nnc 13 years ago.
qmake project file for building Qt Client on OS X

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

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.

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:

  1. Checkout Transmission source from svn
  2. Build in Release mode via included Xcode project file. This is just so we can get all the libs for linking into the Qt Client
  3. Download the attached file into the qt directory of checked out transmission sources
  4. Open a terminal and cd into the qt directory
  5. Run "qmake". This will generate new Xcode project file in that same directory
  6. Open that Xcode project file, select Release mode in Xcode and build the project
  7. If everything went well, you should now have a 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-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?

Last edited 13 years ago by nnc (previous) (diff)

Changed 13 years ago by nnc

qmake project file for building Qt Client on OS X

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: Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in trunk by rr11102

comment:6 in reply to: ↑ 5 Changed 9 years ago by x190

Replying to charles:

Fixed in trunk by rr11102

Meaning r11102.

Note: See TracTickets for help on using tickets.