Results 1 to 3 of 3

Thread: Problems compiling when using an extern

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Problems compiling when using an extern

    Extern means that the variable is defined in a cpp file, which it is not yet. You need to add the line QString ERRORLOGGER; in your cpp file, preferably at the top of it, after the includes.

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

    aarelovich (24th June 2011)

Similar Threads

  1. Cross Compiling Problems
    By memoody in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 5th November 2010, 09:33
  2. Problems with Qt Mobility compiling!
    By cueMan in forum Installation and Deployment
    Replies: 1
    Last Post: 28th September 2010, 09:48
  3. problems with compiling in qt4.6
    By nataly in forum Qt Programming
    Replies: 0
    Last Post: 14th December 2009, 12:09
  4. Compiling and efficiency problems
    By aarelovich in forum Qt Programming
    Replies: 12
    Last Post: 2nd October 2009, 16:38
  5. Problems compiling QMAKE
    By JNT in forum Installation and Deployment
    Replies: 4
    Last Post: 9th January 2007, 17:23

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.