Login  Register

Re: Build on OSX

Posted by R. van Twisk on Jan 31, 2014; 11:19pm
URL: https://forum.librecad.org/Build-on-OSX-tp5709473p5709489.html

Hey Gertwin,

that’s all good information to have.
I use Qt4.8 from macports, and properly/maybe the default’s of macports is different?

I have a question for you,
after the compilation, can you run : otool -L LibreCAD (on the executable…)
make sure that you ran macdeployqt LibreCAD.app on it

I am curious to know how that looks like with homebrew.

--
Kind Regards,

e:[hidden email] / Tel. <a href="callto:+1%20803%20426%203350">+1 803 426 3350 / Skype: <a href="callto:r.vantwisk">r.vantwisk
http://riesvantwisk.com / chat:<a href="im:vantwisk@gmail.com">vantwisk@gmail.com


On Jan 31, 2014, at 6:11 PM, Gertwin [via LibreCAD] <[hidden email]> wrote:

I'am trying to use Qt5.2, this is from the qconfig.pri:

QT_CONFIG += minimal-config small-config medium-config large-config full-config build_all debug_and_release no-pkg-config accessibility opengl shared qpa reduce_exports getaddrinfo ipv6ifname getifaddrs png freetype no-harfbuzz system-zlib nis cups iconv openssl rpath corewlan concurrent audio-backend debug release qt_framework

So I think no-pkg-config is defined by default on OSX and pkg-config has to be explicit enabled.

I managed to compile LibreCAD against homebrew Qt5.2 using the XCode 5.0 clang compiler.
All problems solved, next is learning to work with LibreCAD.

B.t.w. the binary Qt5 distribution from http://qt-project.org/ did not work because this is linked with libstdc++.
Qt5 from homebrew is linked with libc++, which is the default with clang.

Thanks.



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Build-on-OSX-tp5709473p5709488.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML