Results 1 to 7 of 7

Thread: can not open QtGuid.lib

  1. #1
    Join Date
    Jul 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    7

    Unhappy can not open QtGuid.lib

    I compiled qt4.5.2 on windowsXp,but it failed!
    The message is 'LINK : fatal error LNK1104 can not open file QtGuid.lib'.
    I found that the QtGui.lib was exist.
    I do not know why?
    who can help me?Thanks?
    Last edited by yleesun; 28th July 2009 at 14:05. Reason: missing [code] tags

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 69 Times in 67 Posts

    Default Re: can not open QtGuid.lib

    Does the error occur while building Qt or does it occur when building an application using Qt? Does the linker know where to look for QtGuid.lib?

    If you are using visual studio you should add the search path for Qt libraries to your environment options. qmake should know where the libraries are.
    Last edited by franz; 28th July 2009 at 21:49. Reason: updated contents

  3. #3
    Join Date
    Jul 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    7

    Default Re: can not open QtGuid.lib

    It occurs while building Qt !

  4. #4
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 69 Times in 67 Posts

    Default Re: can not open QtGuid.lib

    Which compiler version? I've built Qt 4.5.2 for MSVS 2008 twice now without any problems.

  5. #5
    Join Date
    Jul 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    7

    Default Re: can not open QtGuid.lib

    on windows xp ,
    It just occur on my computer,but on the other one which is the same as mine it works ok.
    Last edited by yleesun; 29th July 2009 at 10:29. Reason: reformatted to look better

  6. #6
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: can not open QtGuid.lib

    If you are building Qt from nmake, you may have to build it 2 times to get the whole thing to compile. At least this is what has happened to me. The first time you get errors because moc was not created. The second time everything builds. I am not sure if this is related though. Although I have built Qt on a dozen or so machines I have not done so in months.
    John

  7. #7
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 69 Times in 67 Posts

    Default Re: can not open QtGuid.lib

    Quote Originally Posted by yleesun View Post
    on windows xp ,
    It just occur on my computer,but on the other one which is the same as mine it works ok.
    Windows XP is not a compiler but an operating system (more or less). Please explain the exact steps you take to build Qt, including any command line stuff, like your configure step.

Similar Threads

  1. Replies: 3
    Last Post: 7th October 2015, 19:43
  2. QTextBrowser: Cannot open
    By veda in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2007, 12:05
  3. How to open a Pdf file from Qt
    By vishal.chauhan in forum Newbie
    Replies: 2
    Last Post: 28th March 2007, 08:24
  4. again Open Cascade + Qt 4.2.2 but detailed...
    By Shuchi Agrawal in forum Qt Programming
    Replies: 11
    Last Post: 1st February 2007, 07:03
  5. again Open Cascade + Qt 4.2.2 but detailed...
    By Shuchi Agrawal in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2007, 06:50

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.