Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. understanding cmake -part 2-
Forum Updated to NodeBB v4.3 + New Features

understanding cmake -part 2-

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 239 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MasterQM Offline
    MasterQM Offline
    MasterQ
    wrote on last edited by MasterQ
    #1

    additionally to my first question, see Part 1, I have to change include commands

    now

    #include <QSqlTableModel>
    

    is not found anymore, I have to have

    #include <QtSql/QSqlTableModel>
    

    I am confused since other includes (other than QSql) do not need any additional prefixes.

    I do not understand where this is comming from.

    J.

    jsulmJ 1 Reply Last reply
    0
    • MasterQM MasterQ

      additionally to my first question, see Part 1, I have to change include commands

      now

      #include <QSqlTableModel>
      

      is not found anymore, I have to have

      #include <QtSql/QSqlTableModel>
      

      I am confused since other includes (other than QSql) do not need any additional prefixes.

      I do not understand where this is comming from.

      J.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @MasterQ said in understanding cmake -part 2-:

      is not found anymore

      It was found before? If so - what did you change? What Qt version? How did you add QSql in CMakeLists.txt?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      MasterQM 1 Reply Last reply
      0
      • jsulmJ jsulm

        @MasterQ said in understanding cmake -part 2-:

        is not found anymore

        It was found before? If so - what did you change? What Qt version? How did you add QSql in CMakeLists.txt?

        MasterQM Offline
        MasterQM Offline
        MasterQ
        wrote on last edited by
        #3

        @jsulm said in understanding cmake -part 2-:

        ... what did you change? ...

        Please follow the link in my initial post. All information you are asking for should be found.

        In short:

        What was done: moving source code of a running project into a subdirectory

        What version: Qt 6.7.2

        Yes, all was working well before the changes!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved