interfaces: fix terminal example

This commit is contained in:
Ivailo Monev 2015-07-15 20:20:08 +00:00
parent 55ae073a63
commit 3ce9d19d22
3 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
project(tetest)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )

View file

@ -37,3 +37,4 @@ int main( int argc, char** argv )
return app.exec();
};
#include "moc_main.cpp"

View file

@ -1,6 +1,7 @@
#ifndef MAIN_H
#define MAIN_H
#include <QObject>
#include <KMainWindow>
class Window : public KMainWindow