Commit 463ed65a authored by Volker Krause's avatar Volker Krause

Show correct version numbers

parent 87f75fd1
...@@ -3,6 +3,7 @@ if (ANDROID) ...@@ -3,6 +3,7 @@ if (ANDROID)
endif() endif()
add_executable(kitinerary-extractor main.cpp) add_executable(kitinerary-extractor main.cpp)
target_include_directories(kitinerary-extractor PRIVATE ${CMAKE_BINARY_DIR})
target_link_libraries(kitinerary-extractor target_link_libraries(kitinerary-extractor
KPimItinerary KPimItinerary
KPim::PkPass KPim::PkPass
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include <kitinerary_version.h>
#include <KItinerary/ExtractorEngine> #include <KItinerary/ExtractorEngine>
#include <KItinerary/ExtractorPostprocessor> #include <KItinerary/ExtractorPostprocessor>
#include <KItinerary/HtmlDocument> #include <KItinerary/HtmlDocument>
...@@ -49,7 +51,7 @@ static void printCapabilities() ...@@ -49,7 +51,7 @@ static void printCapabilities()
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
QCoreApplication::setApplicationName(QStringLiteral("kitinerary-extractor")); QCoreApplication::setApplicationName(QStringLiteral("kitinerary-extractor"));
QCoreApplication::setApplicationVersion(QStringLiteral("TODO")); QCoreApplication::setApplicationVersion(QStringLiteral(KITINERARY_VERSION_STRING));
QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org")); QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
QCoreApplication::setOrganizationName(QStringLiteral("KDE")); QCoreApplication::setOrganizationName(QStringLiteral("KDE"));
QCoreApplication app(argc, argv); QCoreApplication app(argc, argv);
......
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