Results 1 to 3 of 3

Thread: ERROR::QString::operator QNoImplicitBoolCast() const' is private

  1. #1
    Join Date
    Mar 2006
    Posts
    20
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default ERROR::QString::operator QNoImplicitBoolCast() const' is private

    Hi,
    Im try to compile Qt3's proggram in the environment of Qt4....& getting below ERROR
    /usr/local/Trolltech/Qt-4.1.2/include/QtCore/qstring.h:456: error: `
    QString:perator QNoImplicitBoolCast() const' is private

    Can any body tell me solution????

    Thanks
    Krishna

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: ERROR::QString::operator QNoImplicitBoolCast() const' is private

    You cant compile Qt3 program in Qt4 environment. Firts you must port it to Qt 4.
    Look here
    a life without programming is like an empty bottle

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ERROR::QString::operator QNoImplicitBoolCast() const' is private

    Quote Originally Posted by Krishnacins
    getting below ERROR
    /usr/local/Trolltech/Qt-4.1.2/include/QtCore/qstring.h:456: error: `
    QString:perator QNoImplicitBoolCast() const' is private
    Could you post the whole error message (including the information about the context of this error)?

Similar Threads

  1. QSql*Model + QTreeView : make a tree
    By punkypogo in forum Qt Programming
    Replies: 18
    Last Post: 24th October 2008, 18:14
  2. shared vs static
    By alisami in forum Installation and Deployment
    Replies: 3
    Last Post: 4th October 2008, 13:04
  3. qt 4.2.2 install in tru64 cxx
    By try to remember in forum Installation and Deployment
    Replies: 0
    Last Post: 30th March 2007, 07:43
  4. QTableView paints too much
    By Jimmy2775 in forum Qt Programming
    Replies: 2
    Last Post: 26th July 2006, 18:42
  5. Delegates and Table
    By ankurjain in forum Qt Programming
    Replies: 8
    Last Post: 18th May 2006, 19:47

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.