Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 877b6243 authored by Laurent Montel's avatar Laurent Montel 😁

Add test apps

parent 37091e22
......@@ -13,3 +13,7 @@ target_link_libraries(slidecontainer_gui
KF5PimTextEdit
)
add_executable(showemojiunicode_gui showemojiunicode_gui.cpp)
set(showemojiunicode_gui_LIBS KF5PimTextEdit Qt5::Widgets)
target_link_libraries(showemojiunicode_gui ${showemojiunicode_gui_LIBS})
/*
This file is part of KDE.
Copyright (C) 2019 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
#include <QApplication>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
class Window : public QWidget
{
Q_OBJECT
public:
explicit Window(QWidget *parent = nullptr)
: QWidget(parent)
{
}
};
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Window window;
window.show();
return app.exec();
}
#include "showemojiunicode_gui.moc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment