diff --git a/src/modules/license/CMakeLists.txt b/src/modules/license/CMakeLists.txt index 54774dede..164233b3b 100644 --- a/src/modules/license/CMakeLists.txt +++ b/src/modules/license/CMakeLists.txt @@ -1,18 +1,12 @@ include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui ) + calamares_add_plugin( license - -set_source_files_properties( PROPERTIES LANGUAGE CXX ) - -find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED DBus ) - -set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} - ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules ) - TYPE viewmodule EXPORT_MACRO PLUGINDLLEXPORT_PRO SOURCES - LicenseViewStep.cpp LicensePage.cpp + LicenseViewStep.cpp + LicenseWidget.cpp UI LicensePage.ui LINK_PRIVATE_LIBRARIES diff --git a/src/modules/license/LicenseWidget.cpp b/src/modules/license/LicenseWidget.cpp new file mode 100644 index 000000000..d68a279b5 --- /dev/null +++ b/src/modules/license/LicenseWidget.cpp @@ -0,0 +1,22 @@ +/* === This file is part of Calamares - === + * + * Copyright 2015, Anke Boersma + * Copyright 2015, Alexandre Arnt + * Copyright 2015, Teo Mrnjavac + * Copyright 2018, Adriaan de Groot + * + * Calamares is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Calamares 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Calamares. If not, see . + */ + +#include "LicenseWidget.h" diff --git a/src/modules/license/LicenseWidget.h b/src/modules/license/LicenseWidget.h new file mode 100644 index 000000000..2c2b6526f --- /dev/null +++ b/src/modules/license/LicenseWidget.h @@ -0,0 +1,25 @@ +/* === This file is part of Calamares - === + * + * Copyright 2015, Anke Boersma + * Copyright 2015, Alexandre Arnt + * Copyright 2015, Teo Mrnjavac + * Copyright 2018, Adriaan de Groot + * + * Calamares is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Calamares 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Calamares. If not, see . + */ + +#ifndef LICENSE_LICENSEWIDGET_H +#define LICENSE_LICENSEWIDGET_H + +#endif