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. kubuntu - qDebug is missing

kubuntu - qDebug is missing

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 2.3k Views
  • 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.
  • H Offline
    H Offline
    Harry123
    wrote on last edited by
    #1

    Having used Qt on Windows, I am now porting the application to Linux Kubuntu 16.10.

    Qt5 is installed, qtcreator is launched and detects Qt version 5.6.1 , the test project is well-configured, but I'm getting an impossible error :

    error: qDebug: No such file or directory
    #include <qDebug>

    I searched the entire disk, and the file qDebug is indeed missing. All the other headers are found in /usr/include/x86_64-linux-gnu/qt5/QtWidgets, except for qDebug.

    The problem is probably a missing package, but I cannot for the life of me find out which one.

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      #include <QDebug>

      the file should be located in /usr/include/x86_64-linux-gnu/qt5/QtCore

      @Harry123 said in kubuntu - qDebug is missing:

      probably a missing package

      I doubt it

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2
      • H Offline
        H Offline
        Harry123
        wrote on last edited by
        #3

        @VRonin

        Thanks for your answer I found the file and the bug : It should be QDebug and not qDebug.
        This is an error that can only happen when porting from Windows, that doesn't care about case, to Linux that does.

        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