Results 1 to 10 of 10

Thread: Building qwt-6.0.2 with qt-4.8

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Building qwt-6.0.2 with qt-4.8

    Here is the Makefile (with '.txt' added/)
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Building qwt-6.0.2 with qt-4.8

    Remove CONFIG += silent in qwtbuild.pri and check the include path in the compiler commands that are printed to the console.

    Uwe

  3. #3
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Building qwt-6.0.2 with qt-4.8

    Hi Uwe,
    I found the answer and thought I posted it yesterday, but it didn't appear.
    'make clean' does not remove src/Makefile. I had started trying to build with Qt5, but then switched to using Qt4. src/Makefile contained references to Qt5 from my first attempt, and since I had removed Qt5 from my system the build failed. After I deleted src/Makefile everything went smoothly.
    I suggest a small change to the build system to ensure that src/Makefile is removed on a clean (maybe later versions of qwt already have that change.)

    Gib

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Building qwt-6.0.2 with qt-4.8

    This is what make distclean is doing.

    Uwe

  5. #5
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Building qwt-6.0.2 with qt-4.8

    Thanks, I didn't know about that.

Similar Threads

  1. Building QT example
    By Aman607 in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2011, 12:10
  2. Re-Building Qt on Mac
    By dpatel in forum Qt Programming
    Replies: 0
    Last Post: 18th May 2011, 12:16
  3. Building X11 on Mac
    By wjlyerly in forum Installation and Deployment
    Replies: 1
    Last Post: 14th February 2010, 16:59
  4. Building Qt 4.6 rc
    By eekhoorn12 in forum Installation and Deployment
    Replies: 4
    Last Post: 3rd December 2009, 07:13
  5. Building on OSX
    By sbauer in forum Newbie
    Replies: 4
    Last Post: 4th September 2009, 14:08

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.