I am using QT Creator on Fedora 28.
My GUI contains "KIntNumInput" objects. The compiler throws an error in ui_mainwindow.h
(an automatically generated file that is not part of my project and cannot be edited):
knuminput.h: No such file or directory
.
What do I have to install to be able to use this class?
Are there any alternatives in case it's not possible?
Edit: The file /usr/include/KF5/KDELibs4Support/knuminput.h exists, the compiler just doesn't find it
Solution: Added the include path /usr/include/KF5/KDELibs4Support/
to my project's configuration (.pro
) file
INCLUDEPATH += /usr/include/KF5/KDELibs4Support
Turns out this class is deprecated anyways and the Qt-equivalent (QSpinBox) which I, thanks to its not obvious name didn't find, should be used instead.