Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#44 does not compile with qt 4.7.0

closed-accepted
DB-CORE (5)
9
2010-11-13
2010-10-27
Andreas Gölzer
No

Using Ubuntu 10.10 and qt 4.7.0, I could not compile the program from latest svn.
The problem are several default constructors in sqlitedb.h:

sqlitedb.h: In constructor ‘DBBrowserIndex::DBBrowserIndex()’:
sqlitedb.h:58: error: call of overloaded ‘QString(int)’ is ambiguous

I got it to compile and work by replacing the default constructor:
instead of
DBBrowserField() : name( 0 ) { }
write
DBBrowserField() : name( "0" ) { }

I'm not sure of any side effects, it works, it might be equivalent to qt 4.6.x behaviour.

Discussion

  • evil_k..

    Can u help with the git transition and hot fixes? Have u got permissions ?

    mash

     
    • labels: --> DB-CORE
    • priority: 5 --> 9
    • assigned_to: nobody --> mashmorgan
    • status: open --> open-accepted
     
  • Fixed in svn/Head R68,

     
    • status: open-accepted --> closed-accepted