Results 1 to 3 of 3

Thread: Link error on Mac OS-X

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Link error on Mac OS-X

    The linker can't resolve NCReportPreviewWindow. You need to add the the framework or directory using the LIBS qmake variable to instruct the linker where the library or framework lives as well as the library name to include, etc.

    I don't know where NCReport stuff may live on your system, but here's an example I used to include the Sparkle framework (from the .pro file):

    Qt Code:
    1. LIBS += -F$${PWD}/Sparkle/build/Release/
    2. LIBS += -framework Sparkle -framework AppKit
    To copy to clipboard, switch view to plain text mode 
    If NCReport is not a framework, then use -L to point to the library directory and -l to specify the library.

    Hope that helps.

  2. The following user says thank you to jefftee for this useful post:

    Gretsch (28th January 2015)

  3. #2
    Join Date
    Jun 2013
    Location
    Northern Rivers, NSW Australia
    Posts
    14
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Link error on Mac OS-X

    Thanks jthomps, moving the files into /user/lib did the job.

Similar Threads

  1. Replies: 3
    Last Post: 19th November 2014, 19:44
  2. Replies: 4
    Last Post: 29th April 2014, 16:20
  3. : error: [\NokiaQtSDK\Symbian\SDK\epoc32\release\gcce\udeb\V ideo.exe] Error 1
    By ranjit.kadam in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 1st May 2011, 22:11
  4. Replies: 3
    Last Post: 23rd January 2011, 12:15
  5. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24

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
  •  
Qt is a trademark of The Qt Company.