Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. header cpp qt
    Log in to post
    • All categories
    • L

      Unsolved Getting QLineedit values to qt header files
      General and Desktop • qtcreator header cpp qt line edit input • • Lasith

      7
      0
      Votes
      7
      Posts
      1427
      Views

      SGaist

      Hi,

      Your code won't work, your QSqlDatabase object is invalid.

      Please take the time to look at the code example in QSqlDatabase's documentation as well as the example provided.

      It' also discouraged to store database object like that locally. QSqlDatabase allows for easy connection handling without the need for these local copies.

    • L

      [SOLVED] Invalid use of incomplete type 'class UI::MainWindow'
      General and Desktop • incomplete type mainwindow qt5.5 header cpp qt include • • Lorence

      30
      0
      Votes
      30
      Posts
      48705
      Views

      P

      @mrjj Thanks, you are right for saying that some header files might be missing.

    • R

      How can I test out header files and related C++ source code?
      General and Desktop • header header cpp qt • • rogerloh4.0

      4
      0
      Votes
      4
      Posts
      1478
      Views

      R

      @mrjj No, I didn't know that, thanks for pointing my errors out. :)