Results 1 to 12 of 12

Thread: Meaning

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    61
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9

    Default Re: Meaning

    what wysota meant was you have to link the xml library.

    you can do that by adding the following to your .pro file:
    Qt Code:
    1. QT += xml
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    May 2009
    Posts
    129

    Default Re: Meaning

    Thanks

    that issue solved....


    Now it showing errors in Qt libs
    Qt Code:
    1. c:\Qt\2009.01\qt\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x20d): undefined reference to `qMain(int, char**)'
    2. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Meaning

    have you rebuild you project after chancing your pro file?

  4. #4
    Join Date
    May 2009
    Posts
    129

    Default Re: Meaning

    Ya , i have rebuid my project..

    i am getting errors like that

    Here i attached my project file..
    Attached Files Attached Files

  5. #5
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 370 Times in 336 Posts

    Default Re: Meaning

    add #include <string> into Server.h.
    btw, what do you want, create a lib?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  6. #6
    Join Date
    May 2009
    Posts
    129

    Default Re: Meaning

    yes , i want to create library from the project..

    I added the #include <string> in Server.h file...

    Same thing is happening ...


    please help me

  7. #7
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 370 Times in 336 Posts

    Default Re: Meaning

    read this.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  8. #8
    Join Date
    May 2009
    Posts
    129

    Default Re: Meaning

    Hi

    Thanks for supports...

    I realized my problem..

    I did mistake in .pro file..

    previously i had given TEMPLATE = app..

    But my requirement is lib ...

    So i changed app as lib ..

    Now it is working..


    Thanks

    Addu

Similar Threads

  1. special meaning of & symbol inside string
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 2nd February 2009, 07:19
  2. QGraphicsItem meaning of pos(), scenePos()
    By nicolas1 in forum Qt Programming
    Replies: 11
    Last Post: 9th October 2008, 08:59
  3. some warning meaning
    By MarkoSan in forum General Programming
    Replies: 2
    Last Post: 28th May 2008, 13:40

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.