Results 1 to 5 of 5

Thread: QSqlResult::DetachFromResultSet not available in Qt5

  1. #1
    Join Date
    Dec 2010
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QSqlResult::DetachFromResultSet not available in Qt5

    Hi,


    I am trying to port my code from Qt 4.8 to Qt5. I find that enum VirtualHookOperation is not populated in line 128 QSqlResult.h. In Qt5 the enum is empty. I dont find this change mentioned anywhere in the changes-5.0.0 document. I am trying to build QSqliteSeeDriver.cpp as part of my project.

    Please do let me know of any workarounds.

    Sky

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: QSqlResult::DetachFromResultSet not available in Qt5

    Here's the commit: link

  3. The following user says thank you to norobro for this useful post:

    sky (5th February 2013)

  4. #3
    Join Date
    Dec 2010
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QSqlResult::DetachFromResultSet not available in Qt5

    Thank you Norobro.

    Any Idea if the SEE project would ported to Qt5 or if it is already underway?

    Sky.

  5. #4
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: QSqlResult::DetachFromResultSet not available in Qt5

    You're welcome. I don't know anything about the problem that you have. The Qt 5 version that I have on my machine is from before the commit, therefore the VirtualHookOperation enum is still in my source. That piqued my curiousity so I checked on gitorious.

    I'm not familiar with the SEE project. What is it?

  6. #5
    Join Date
    Dec 2010
    Posts
    44
    Thanks
    9
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QSqlResult::DetachFromResultSet not available in Qt5

    Hi Norobro,

    Sorry. I didnt notice your question. Its been exactly an year!! Here is the homepage: http://www.sqlite.org/see/doc/trunk/www/index.wiki

    Sky

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.