[Qgis-developer] Qt build for QGIS source

Mars Sjoden aurorageomatics at gmail.com
Mon Jun 6 00:21:17 EDT 2011


Interesting,

I have heard of homebrew before, maybe i'll try a taste.

thanks!

On Sun, Jun 5, 2011 at 2:53 PM, Charlie Sharpsteen <chuck at sharpsteen.net>wrote:

> The Homebrew formulae may be of help:
>
> For Qt:
>
>     https://github.com/mxcl/homebrew/blob/master/Library/Formula/qt.rb
>
> For Qwt (note that you may need to downgrade Qwt from 6.0.0 to 5.2.1 to
> compile QGIS):
>
>     https://github.com/mxcl/homebrew/blob/master/Library/Formula/qwt.rb
>
> For QGIS (unreleased and under active development):
>
>     https://github.com/Sharpie/homebrew/blob/qgis/Library/Formula/qgis.rb
>
>
> The formula files are just Ruby scripts that calculate the required
> arguments to configure, cmake, etc and then run the commands.
>
> -Charlie
>
>
> On Sun, Jun 5, 2011 at 1:22 PM, Mars Sjoden <aurorageomatics at gmail.com>wrote:
>
>> Cool! did not know that!
>>
>> Yah, both arch's x86_64 and i386 installed as universal.
>>
>> I'll keep grinding away at it.
>>
>> I better keep notes this time!
>>
>> Thanks
>>
>>
>> On Sun, Jun 5, 2011 at 12:31 PM, William Kyngesburye <
>> woklist at kyngchaos.com> wrote:
>>
>>> Qt Cocoa should have 64bit for all the Qt frameworks.  You can check a
>>> framework archs with:
>>>
>>> file /Library/Frameworks/QtSvg.framework/QtSvg
>>>
>>> I don't know why it's failing on qwt designer.  It's not needed by QGIS
>>> really.  Try disabling it in the qwtconfig.pri - comment out the line to add
>>> it to the config.
>>>
>>> On Jun 5, 2011, at 1:50 PM, Mars Sjoden wrote:
>>>
>>> > Yes of course William, a very incredibly helpful resource.
>>> >
>>> > I likely am unable to follow instructions correctly, as I am finding
>>> (and remember in my case) there were (are) special steps that I need to take
>>> to build all the pre-req's... Have you ever tried building with two kids
>>> hanging off your arms ^_^ ha ha!
>>> >
>>> > There maybe something I am doing that is causing all our Intel Core 2
>>> Duo's to cause troubles with QGIS.
>>> >
>>> > for instance:
>>> >
>>> > ld: file not found: QtSvg.framework/Versions/4/QtSvg for architecture
>>> x86_64
>>> > collect2: ld returned 1 exit status
>>> > make[1]: *** [plugins/designer/libqwt_designer_plugin.dylib] Error 1
>>> > make: *** [sub-designer-make_default] Error 2
>>> >
>>> > Are these errors normal when making of QWT?
>>> >
>>> > QtSvg for 64bit is missing, so this would suggest that I may have
>>> downloaded the wrong Qt libraries for SnowLeopard?
>>> >
>>> > Perhaps there is no 64bit QtSvg available?
>>> >
>>> >  I downloaded the:
>>> > Cocoa: Mac binary package for Mac OS X 10.5 - 10.6 (32-bit and 64-bit)
>>> >
>>> http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x
>>> >
>>> > Thanks for the help, these issues so incredibly trivial for you I
>>> understand.
>>> >
>>> > Mars
>>> >
>>> >
>>> >
>>> >
>>> > On Sat, Jun 4, 2011 at 5:00 PM, William Kyngesburye <
>>> woklist at kyngchaos.com> wrote:
>>> > It's all in the INSTALL document in the QGIS source.
>>> >
>>> > On Jun 4, 2011, at 5:38 PM, Mars Sjoden wrote:
>>> >
>>> > > Thanks,
>>> > >
>>> > > Tried the SDK download, but throws some errors when building some of
>>> the dependancies (pyqt I think).
>>> > > Simply installing the libs seems to work so far, …must install to
>>> allow for dynamic libs?
>>> > >
>>> > > I need to remember to write down this process for myself!
>>> > >
>>> > > Sent from the  MarsPhone
>>> > >
>>> > > On 2011-06-04, at 11:07 AM, William Kyngesburye <
>>> woklist at kyngchaos.com> wrote:
>>> > >
>>> > >> Don't compile Qt from source, just download the framework installer.
>>>  They also have debug libs as a separate download (it adds to the
>>> frameworks).  For most purposes the "Qt Libraries" downloads are enough, but
>>> if you need the dev tools, like Qt Designer and the Qt IDE you need the
>>> larger Qt SDK.
>>> > >>
>>> > >> Looks like they changed their download page layout a bit - the
>>> SDK/Library section used to be side by side, now they're sequential and you
>>> need to scroll down to find the Library links.
>>> > >>
>>> > >> On Jun 4, 2011, at 12:43 PM, Mars Sjoden wrote:
>>> > >>
>>> > >>> Hello,
>>> > >>>
>>> > >>> I am on my wife's computer (Snow Leopard) and am trying to remember
>>> if I need to build Qt libraries as a static or dynamic library?
>>> > >>>
>>> > >>> I seem to remember dynamic is preferred for dependancies but also
>>> seem to remember that the auto-download/build installer for Qt for Mac
>>> builds the libraries as static?
>>> > >>>
>>> > >>> What is the smoothest download for Qt (and debugging) that I should
>>> be using for Mac?
>>> > >>>
>>> > >>> Thanks!
>>> > >>>
>>> > >>> a non-developer hack.
>>> > >>> _______________________________________________
>>> > >>> Qgis-developer mailing list
>>> > >>> Qgis-developer at lists.osgeo.org
>>> > >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> > >>
>>> > >> -----
>>> > >> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> > >> http://www.kyngchaos.com/
>>> > >>
>>> > >> "Mon Dieu! but they are all alike.  Cheating, murdering, lying,
>>> fighting, and all for things that the beasts of the jungle would not deign
>>> to possess - money to purchase the effeminate pleasures of weaklings.  And
>>> yet withal bound down by silly customs that make them slaves to their
>>> unhappy lot while firm in the belief that they be the lords of creation
>>> enjoying the only real pleasures of existence....
>>> > >>
>>> > >> - the wisdom of Tarzan
>>> > >>
>>> > >>
>>> >
>>> > -----
>>> > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> > http://www.kyngchaos.com/
>>> >
>>> > All generalizations are dangerous, even this one.
>>> >
>>> >
>>> > _______________________________________________
>>> > Qgis-developer mailing list
>>> > Qgis-developer at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> >
>>> > _______________________________________________
>>> > Qgis-developer mailing list
>>> > Qgis-developer at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>> -----
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>>
>>> "The beast is actively interested only in now, and, as it is always now
>>> and always shall be, there is an eternity of time for the accomplishment of
>>> objects."
>>>
>>> - the wisdom of Tarzan
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110605/3908c696/attachment.html


More information about the Qgis-developer mailing list