Results 1 to 7 of 7

Thread: LIBS+= behaviour on Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: LIBS+= behaviour on Windows

    "-Lpath with spaces" (with -L inside the quotes) would have also worked, I think.

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

    Benne Gesserit (4th August 2008)

  3. #2
    Join Date
    Jul 2008
    Posts
    27
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6

    Default Re: LIBS+= behaviour on Windows

    Yes ,you are right .At least it seems to work .But....I dont like it .It s confusing ,you always see -L"path" ,then you see "-Lpath"....seems to be a mistake .Anyway ,it s good to know it can be used that way,
    Thank you very much.
    If God has friends ,then I cant be God.

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: LIBS+= behaviour on Windows

    No, "-Lpath" is correct because quotes surround the whole argument and that's the meaning of quotes - to build a parameter containing spaces you surround it with quotes, not that you surround spaces with quotes or surround parts of the argument containing spaces with quotes.

Similar Threads

  1. Qt + Eclipse + MinGW + Windows: How to include libraries?
    By jambrek in forum General Programming
    Replies: 3
    Last Post: 19th December 2007, 13:57
  2. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  3. Including libs on windows
    By ucomesdag in forum Qt Programming
    Replies: 2
    Last Post: 17th August 2007, 08:31
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

Tags for this Thread

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.