[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdepim
From: Volker Krause <vkrause () kde ! org>
Date: 2007-01-07 10:22:51
Message-ID: 200701071122.54810.vkrause () kde ! org
[Download RAW message or body]
On Saturday, January 6, 2007 11:58:46 PM Benjamin Reed wrote:
> SVN commit 620669 by reed:
>
> make akonadiconsole a QCoreApplication; not sure how to do so for
> kabcclient tho, so linking kdeui for now
Despite the name, akonadiconsole is a GUI application ;-)
I've reverted that part.
regards
Volker
> M +2 -3 akonadi/clients/akonadiconsole/CMakeLists.txt
> M +2 -2 akonadi/clients/akonadiconsole/main.cpp
> M +1 -1 console/kabcclient/src/CMakeLists.txt
>
>
> --- trunk/KDE/kdepim/akonadi/clients/akonadiconsole/CMakeLists.txt
> #620668:620669 @@ -17,10 +17,9 @@
>
> kde4_automoc(${akonadiconsole_bin_SRCS})
>
> -kde4_add_executable(akonadiconsole_bin ${akonadiconsole_bin_SRCS})
> +kde4_add_executable(akonadiconsole_bin NOGUI ${akonadiconsole_bin_SRCS})
> set_target_properties(akonadiconsole_bin PROPERTIES OUTPUT_NAME
> akonadiconsole)
>
> -# kdeui for KApplication
> -target_link_libraries( akonadiconsole_bin akonadicomponents
> ${KDE4_KDEUI_LIBRARY} ) +target_link_libraries( akonadiconsole_bin
> akonadicomponents )
>
> install(TARGETS akonadiconsole_bin DESTINATION ${BIN_INSTALL_DIR} )
> --- trunk/KDE/kdepim/akonadi/clients/akonadiconsole/main.cpp #620668:620669
> @@ -19,15 +19,15 @@
> USA.
> */
>
> -#include <kapplication.h>
> #include <kcmdlineargs.h>
> +#include <QCoreApplication>
>
> #include "mainwindow.h"
>
> int main( int argc, char **argv )
> {
> KCmdLineArgs::init( argc, argv, "akonadiconsole", "AkonadiConsole", "The
> Management Console for Akonadi", "1.0" ); - KApplication app;
> + QCoreApplication app( *KCmdLineArgs::qt_argc(), *KCmdLineArgs::qt_argv()
> );
>
> MainWindow window;
> window.show();
> --- trunk/KDE/kdepim/console/kabcclient/src/CMakeLists.txt #620668:620669
> @@ -20,6 +20,6 @@
>
> kde4_add_executable(kabcclient ${kabcclient_SRCS})
>
> -target_link_libraries(kabcclient ${KDE4_KDECORE_LIBS} ${KDE4_KABC_LIBS})
> +target_link_libraries(kabcclient ${KDE4_KDECORE_LIBS} ${KDE4_KABC_LIBS}
> ${KDE4_KDEUI_LIBS} )
>
> install(TARGETS kabcclient DESTINATION ${BIN_INSTALL_DIR})
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic