Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting up build environment on mac #3

Open
richardwilliamson opened this issue Mar 22, 2016 · 3 comments
Open

setting up build environment on mac #3

richardwilliamson opened this issue Mar 22, 2016 · 3 comments

Comments

@richardwilliamson
Copy link

Hello

Am trying to set up a build environment on my mac with xcode - I have installed QT and managed to link the libraries, but I still can't get the app to build, I am now getting QtGui/QApplication not found - any ideas what I need to do in my build path etc to get this working!?

Thanks!

Richard

@MizPlusPlus
Copy link
Member

Hey Richard,

Alas... getting the build environment is almost as difficult as writing the app itself. I will try to post some step-by-step instructions on the later.

I built this with Qt 4.8.1, XCode 7.2, OSX 10.11
https://download.qt.io/archive/qt/4.8/4.8.1/

~Chris

@richardwilliamson
Copy link
Author

Thanks Chris - and thanks for fixing the broadcast thing. I think half my problem was that I had installed the newer version of QT. It looks like a lot of the QT’s locations are hard-coded, so I think I need to create a /Developer/tools folder and put some stuff in there, otherwise my Xcode project won’t play nicely.

I’m about to board a plane but submitted a pull request for something I did last night (you are correct in that I found it easier to follow your code and add a feature (maybe badly!) than to get QT to work!)

Great app by the way! Literally perfect timing for a project I’m working on

Richard

Richard Williamson
www.richard-williamson.com
[email protected]
07957 457 362

On 23 Mar 2016, at 17:52, Chris Mizerak [email protected] wrote:

Hey Richard,

Alas... getting the build environment is almost as difficult as writing the app itself. I will try to post some step-by-step instructions on the later.

I built this with Qt 4.8.1, XCode 7.2, OSX 10.11
https://download.qt.io/archive/qt/4.8/4.8.1/ https://download.qt.io/archive/qt/4.8/4.8.1/
~Chris


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #3 (comment)

@richardwilliamson
Copy link
Author

Managed to get my computer to build finally! It's a little buggy but..

  • installed homebrew
  • installed QT (brew install QT)
  • Edited the build phases to point to the moc in the location brew puts it /usr/local/Cellar/qt/4.8.7_2/bin/moc)
  • Copied the QT libraries from the brew folder to /Libraries/Frameworks

I get some errors but the build seems to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants