Results 1 to 4 of 4

Thread: errors details

  1. #1
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default errors details

    Hi everybody!
    I'm trying to compile a projet on Qt but I've got an error. The problem? I haven't any details on it...
    Qt just say : debug\viewer.exe:: error: 27 unresolved externals
    When I click on it, it's written in red : File not found : debug\viewer.exe
    That's normal, because there are errors during compilation so the .exe cannot exist...

    Is there a way to have details on those errors?

    Thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: errors details

    The compiler and/or linker will be outputting a bunch of information before the single terse error message you bothered to post here. Without that there is no hope that we can help. Without any information on what tools you are using we are going to have a hard time telling you exactly where to look for the compiler linker output; the output will probably be visible in a window or pane of your IDE.

  3. #3
    Join Date
    Apr 2010
    Posts
    17
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: errors details

    Well, sorry, I'm using Qt 4.6.3 on Windows Seven
    I haven't seen that my checkbox errors put itself automaticaly on Build Issue part, so I check the Compile Output part to have more informations
    While you're there, have you got any idea to solve those warnings :
    qtmaind.lib(qtmain_win.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1600' encountered; ignored
    qtmaind.lib(qtmain_win.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=2' encountered; ignored

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: errors details

    I'm using Qt 4.6.3 on Windows Seven
    ... and the Microsoft Visual Studio 20?? IDE and compiler?

    Linker Tools Warning LNK4229: http://msdn.microsoft.com/en-us/library/58kyks4s.aspx
    If you have used any any
    Qt Code:
    1. #pragma comment( comment-type [,"commentstring"] )
    To copy to clipboard, switch view to plain text mode 
    preprocessor directives in your code you should check them. However, given that warnings seem to be related to the Qt libraries it may that they were built with a Microsoft compiler (VS2010 perhaps) other than the one you are using now. Perhaps rebuilding Qt with the same compiler will eliminate the warning message.

    It is just a warning though, so ignoring it might be OK. Perhaps someone that uses the VS C++ compilers can enlighten us.

Similar Threads

  1. How to hide QAxServer details from .NET?
    By EgorSharin in forum Newbie
    Replies: 2
    Last Post: 16th February 2011, 22:50
  2. Replies: 0
    Last Post: 1st July 2010, 04:21
  3. QListView 'details' mode
    By squidge in forum Qt Programming
    Replies: 1
    Last Post: 7th October 2009, 07:55
  4. Replies: 1
    Last Post: 24th September 2007, 09:02
  5. QProgressBar: don't understand in details, help me !!!
    By haconganh in forum Qt Programming
    Replies: 5
    Last Post: 10th May 2007, 08:07

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.