Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt CreatorAny KF5 widget: No such file or directory



  • I'm using Manjaro 20.0.2 on kernel 5.10, KDE Plasma 5.20.5. If I paste to form any KF5 widget, it shows on preview with no problem, but after I compile it says like this:

    /home/graloock/Projects/build-Harmonika-Desktop-Debug/ui_modwindow.h:16: error: kkeysequencewidget.h: No such file or directory
    In file included from ../Harmonika/modwindow.cpp:3:
    ./ui_modwindow.h:16:10: fatal error: kkeysequencewidget.h: No such file or directory
       16 | #include "kkeysequencewidget.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~
    

    0a249c00-44ce-4175-8af8-b093583f59fb-изображение.png
    I tried to Google something like this, but not found any solution. Any ideas? I'll send more info if you need.


  • Lifetime Qt Champion

    So did you actually add the include paths for those headers?


Log in to reply