-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qwt compile error under OSX - note for Larry
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
247c2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Tim,
That's a known problem with 6.0.2 and latest 6.1 branch:
http://sourceforge.net/mailarchive/forum.php?thread_name=5102569A.3030509%40tigertal.de&forum_name=qwt-interest
I looked into it, but don't know enough about building frameworks using Qt .pro files to offer a fix. Maybe William can help out?
I have had no problems compiling 6.0.1, and John Tull reports 5.2.3 also works well and is the most compatible with existing plugins (I've not tested). This is why the INSTALL notes are in their current state concerning Qwt.
247c2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
247c2db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I see what happened (assuming 6.0.1 does compile, I didn't go that far) - in 6.0.2 they added a functions include, which redefines 2 qmake functions. 1 is an exact duplicate of what I have for Qt 4.8.4, but the other, qtAddLibrary(), removes most of the platform-specific stuff, like how to link a framework. Thus linking the newly compiled QWt framework to qwt designer fails because it doesn't know how to link a framework.
Either remove the qwtfunctions.pri references from .pr* files (maybe they are trying to fix some supposed qmake bug?), or remove the QwtFramework setting from the end of qwtconfig.pri (my instructions assume dylib configuration, not framework).