Results 1 to 9 of 9

Thread: Many errors in qvariant.h

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Location
    Kiev, Ukraine
    Posts
    16
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Many errors in qvariant.h

    Hi.
    I am porting project from Qt3 to Qt4 also porting it to QtCreator. Project consist of huge count of files and dependencies and now i resolving unresolved symbols for linker. When i add another file to project i see many compiler errors in qvariant.h . That is strange error such as " '::~QVariant' : illegal global destructor" - it looks like it can not understand that it is name space of QVariant class but upper there is "class Q_CORE_EXPORT QVariant"; or it can not understand that "QVariant(const QString &string);" is a constructor but think that it is function and say that i need to add return type, imho second error also tells that it can not see class name space. I dont understand how it can be and how my project can cause this errors.
    Help please to solve this or just show steps how such error could be investigated.

    Qt 4.7.2, compiler from mvs2008
    Attached Files Attached Files
    Last edited by wysota; 26th May 2011 at 12:28. Reason: removed URL

Similar Threads

  1. Replies: 4
    Last Post: 4th January 2011, 12:07
  2. Replies: 1
    Last Post: 4th December 2009, 17:03
  3. VARIANT <-> QVariant
    By will49 in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2009, 23:39
  4. a question about QVariant
    By calmspeaker in forum Qt Programming
    Replies: 4
    Last Post: 14th August 2009, 07:42
  5. QVariant compile errors
    By ntp in forum Installation and Deployment
    Replies: 3
    Last Post: 14th May 2008, 19: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
  •  
Qt is a trademark of The Qt Company.