--nextPart2398438.vDuZGMafDk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > #include > +#include > > #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}) --nextPart2398438.vDuZGMafDk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFoMn+f5bM1k0S0kcRAg4fAJ9Yj7Plu4bAnCAbfzz4XmYrptD3TwCdETjx Hv665y8d5/9OYZWjk+Pe2Jw= =wyeS -----END PGP SIGNATURE----- --nextPart2398438.vDuZGMafDk--