Results 1 to 3 of 3

Thread: Qwt 6.0 compilation fails on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4)

  1. #1
    Join Date
    Oct 2011
    Location
    Venice, Italy
    Posts
    20
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qwt 6.0 compilation fails on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4)

    Hello,

    when trying to build Qwt 6.0 on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4) compilation fails with this error

    Qt Code:
    1. [...]
    2. qwt_mml_document.cpp: In member function ‘void QwtMmlDocument::_dump(const QwtMmlNode*, QString&) const’:
    3. qwt_mml_document.cpp:3125: warning: format not a string literal and no format arguments
    4. qwt_mml_document.cpp: In member function ‘virtual int QwtMmlNode::scriptlevel(const QwtMmlNode*) const’:
    5. qwt_mml_document.cpp:3705: warning: format not a string literal and no format arguments
    6. qwt_mml_document.cpp:3722: warning: format not a string literal and no format arguments
    7. qwt_mml_document.cpp: In function ‘QString decodeEntityValue(QString)’:
    8. qwt_mml_document.cpp:5640: warning: format not a string literal and no format arguments
    9. qwt_mml_document.cpp:5649: warning: format not a string literal and no format arguments
    10. qwt_mml_document.cpp:5658: warning: format not a string literal and no format arguments
    11. qwt_mml_document.cpp:5669: warning: format not a string literal and no format arguments
    12. qwt_mml_document.cpp:5680: warning: format not a string literal and no format arguments
    13. rm -f qwtmathml_debug qwtmathml.framework/qwtmathml_debug ../../lib/qwtmathml.framework/qwtmathml_debug
    14. linking ../../lib/qwtmathml.framework/qwtmathml_debug
    15. ld: framework not found qwt
    16. collect2: ld returned 1 exit status
    17. make[2]: *** [../../lib/qwtmathml.framework/qwtmathml_debug] Error 1
    18. make[1]: *** [sub-mathml-make_default] Error 2
    19. make: *** [sub-textengines-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    I followed the both building instruction specified by INSTALL file:

    Qt Code:
    1. qmake
    2. make
    To copy to clipboard, switch view to plain text mode 

    and

    Qt Code:
    1. qmake -spec macx-g++
    2. make
    To copy to clipboard, switch view to plain text mode 

    The error is similar to an already reported (and fixed) bug

    http://sourceforge.net/tracker/?func...93&atid=113693

    It's my first time in compiling third parts libraries on an Mac arch.

    Thanks in advance for your help,

    Marco

    P.S. I've tried to compile the development snapshot version too

    [edited:]

    Searching on bug tracker I've found another user who has the same issue

    http://sourceforge.net/tracker/?func...93&atid=113693
    Last edited by mpita; 3rd October 2011 at 16:04.

  2. #2
    Join Date
    Oct 2011
    Location
    Venice, Italy
    Posts
    20
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt 6.0 compilation fails on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4)

    I've done some tries yesterday and I get it "works", or, at least, install, acting on qwtconfig.pri:

    - Qwt library (framework) compiles successfully;
    - QwtMathML compiles successfully with some already known warnings, but at linking time ld fails to find the Qwt framework;
    - Disabling QwtMathML compilation, the story will repeat again when the Qwt Qt Designer plugin is linking;
    - Finally, disabling the QwtDesigner compilation, i can reach the end and launch "make install" which, now, installs only the Qwt framework.

    Thanks,

    Marco

  3. #3
    Join Date
    Dec 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Qwt 6.0 compilation fails on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4)

    Hi Marco,

    Sorry for reviving a (two month) old thread, but I had the exactly the same problem as you on OSX. I fixed it by setting the CONFIG variable to 'release' in the qwtbuild.pri file. That allows all the plugins to be compiled as well. Hope this helps!

    Cheers,

    Chris.

Similar Threads

  1. Qt 4.6.2 Mac Installation fails .
    By nikhil in forum Installation and Deployment
    Replies: 1
    Last Post: 6th October 2012, 11:45
  2. Compilation fails in Windows XP
    By sim in forum Newbie
    Replies: 3
    Last Post: 1st July 2010, 16:56
  3. Qt 4.6.1 Compilation fails!
    By Diegol in forum Installation and Deployment
    Replies: 1
    Last Post: 10th February 2010, 16:36
  4. Compilation of phonon fails
    By pospiech in forum Installation and Deployment
    Replies: 1
    Last Post: 28th January 2010, 07:44
  5. Replies: 5
    Last Post: 29th August 2007, 09:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.