Commit e2a1d1f6 authored by Kevin Funk's avatar Kevin Funk

app: Use kdevelop_version.h from ECM

... instead of duplicating this info in config-kdevelop.h
parent 5c95479c
......@@ -27,7 +27,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include <config-kdevelop.h>
#include "config-kdevelop.h"
#include "kdevelop_version.h"
#include "urlinfo.h"
......@@ -358,7 +359,7 @@ int main( int argc, char *argv[] )
KLocalizedString::setApplicationDomain("kdevelop");
static const char description[] = I18N_NOOP( "The KDevelop Integrated Development Environment" );
KAboutData aboutData( QStringLiteral("kdevelop"), i18n( "KDevelop" ), QByteArray(VERSION), i18n(description), KAboutLicense::GPL,
KAboutData aboutData( QStringLiteral("kdevelop"), i18n( "KDevelop" ), QByteArray(KDEVELOP_VERSION_STRING), i18n(description), KAboutLicense::GPL,
i18n("Copyright 1999-2017, The KDevelop developers"), QString(), QStringLiteral("https://www.kdevelop.org/"));
aboutData.setDesktopFileName(QStringLiteral("org.kde.kdevelop"));
aboutData.addAuthor( i18n("Kevin Funk"), i18n( "Co-maintainer, C++/Clang, QA, Windows Support" ), QStringLiteral("kfunk@kde.org") );
......
#ifndef KDEVELOP_CONFIG_H
#define KDEVELOP_CONFIG_H
#ifndef CONFIG_KDEVELOP_H
#define CONFIG_KDEVELOP_H
/* config-kdevelop.h. Generated by cmake from config-kdevelop.h.cmake */
#define VERSION "@KDevelop_VERSION_MAJOR@.@KDevelop_VERSION_MINOR@.@KDevelop_VERSION_PATCH@"
#define VERSION_MAJOR "@KDevelop_VERSION_MAJOR@"
#define VERSION_MINOR "@KDevelop_VERSION_MINOR@"
#define VERSION_PATCH "@KDevelop_VERSION_PATCH@"
#cmakedefine01 KDEVELOP_SINGLE_APP
#cmakedefine01 KF5SysGuard_FOUND
#endif // KDEVELOP_CONFIG_H
#endif // CONFIG_KDEVELOP_H
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