[Kde-pim] Tomboy resource: Questions to KConfigDialog

Stefan Staeglich staeglis at informatik.uni-freiburg.de
Tue Jun 21 22:13:59 BST 2016


Am Dienstag, 21. Juni 2016, 23:04:07 schrieben Sie:
> Hello,
> 
> I want to implement the config dialog now. The tutorial suggested the usage
> of KConfigDialog. But for this I need also my own  Qt GUI-Class? Or is
> there a easier way?
> 
> I created one with QtCreator, so that I have the following new files:
> configdialog.h
> configdialog.cpp
> configdialog.ui
> 
> To the CMakeList.txt I added this:
> ki18n_wrap_ui(tomboynotesresource configdialog.ui)
Damn copy-paste. I have it:
ki18n_wrap_ui(tomboynotesresource_SRCS configdialog.ui)

But the other question is still left.
> 
> But I get this error:
> configdialog.cpp:2:29: fatal error: ui_configdialog.h: No such file or
> directory #include "ui_configdialog.h"
> 
> I think that it is a CMake problem again :(
> 
> Thanks,
> Stefan
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list