From af0ab576060a59ecde5bb070c05dc10ff1cf3baf Mon Sep 17 00:00:00 2001 From: hooper114 Date: Fri, 17 Jul 2009 22:13:39 +0000 Subject: [PATCH] Change binary filename to zint-qt --- debian/qzintfrontend.install | 2 +- frontend_qt4/CMakeLists.txt | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/debian/qzintfrontend.install b/debian/qzintfrontend.install index d7b345c6..66674579 100644 --- a/debian/qzintfrontend.install +++ b/debian/qzintfrontend.install @@ -1 +1 @@ -usr/bin/QZint_frontend +usr/bin/zint-qt diff --git a/frontend_qt4/CMakeLists.txt b/frontend_qt4/CMakeLists.txt index a4d531e0..2fdcac73 100644 --- a/frontend_qt4/CMakeLists.txt +++ b/frontend_qt4/CMakeLists.txt @@ -1,26 +1,26 @@ # (c) 2008 by BogDan Vatra < bogdan@licentia.eu > -project(QZint_frontend) +project(zint-qt) include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt4") -set(QZint_frontend_SRCS barcodeitem.cpp main.cpp mainwindow.cpp) -QT4_WRAP_CPP(QZint_frontend_SRCS mainwindow.h) +set(zint-qt_SRCS barcodeitem.cpp main.cpp mainwindow.cpp) +QT4_WRAP_CPP(zint-qt_SRCS mainwindow.h) -QT4_WRAP_UI(QZint_frontend_SRCS mainWindow.ui ) +QT4_WRAP_UI(zint-qt_SRCS mainWindow.ui ) # grpAztec.ui grpC39.ui grpDM.ui grpMSICheck.ui # grpC128.ui grpChannel.ui grpMicroPDF.ui grpPDF417.ui # grpC16k.ui grpCodablock.ui grpMQR.ui grpQR.ui # grpMaxicode.ui) -QT4_ADD_RESOURCES(QZint_frontend_SRCS resources.qrc) +QT4_ADD_RESOURCES(zint-qt_SRCS resources.qrc) -add_executable(QZint_frontend ${QZint_frontend_SRCS}) -add_dependencies(QZint_frontend QZint zint) +add_executable(zint-qt ${zint-qt_SRCS}) +add_dependencies(zint-qt QZint zint) link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" ) -target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY} +target_link_libraries(zint-qt zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ) -install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME) +install(TARGETS zint-qt DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)