kubuntu - qDebug is missing

  • 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.

  • #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

  • @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.

Log in to reply