Re: KNewStuff questions (uninstalling/providers)

2011-01-28 Thread Martin
Hi, > I guess this is up to the API's maintainer and the release team (CC'ed, see > [1] for context). Have you already decided if it can go into the 4.6 branch? If you think that backporting is not a good idea then I'll simply commit to trunk (the only consequence will be that KNS3 support in ya

Re: How to create and execute tests with CMake

2011-01-28 Thread Valentin Rusu
On 01/28/2011 01:13 PM, Riccardo Bellini wrote: > Thank you all for your replies, however I would prefer using Qt > functions rather than kde4_add_unit_test. > I finally got it to work, but I had to split the test class in .h and > .cpp files, and call qt_wrap_cpp on header file, including mocs in

Re: How to create and execute tests with CMake

2011-01-28 Thread Andreas Pakulat
On 28.01.11 13:13:58, Riccardo Bellini wrote: > Thank you all for your replies, however I would prefer using Qt functions > rather than kde4_add_unit_test. > I finally got it to work, but I had to split the test class in .h and .cpp > files, and call qt_wrap_cpp on header file, including mocs in so

Re: How to create and execute tests with CMake

2011-01-28 Thread Valentin Rusu
> If you're already using KDE stuff, then you don't need this. There's a > special macro for unit-tests: > kde4_add_unit_test taking a target name and the sources list. Oh, quite a handy macro ! I'll definitely try it out ! Valentin >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub

System maintainance this weekend.

2011-01-28 Thread Tom Albers
Hi All, This weekend will be filled with excitement over the move to git for kdelibs and kdebase. We will sent out a mail later this evening to the kde-svn-annou...@kde.org mailinglist with somewhat more details. Everyone with a svn/git account is automatically subscribed to that list. Besides

Re: How to create and execute tests with CMake

2011-01-28 Thread Riccardo Bellini
Thank you all for your replies, however I would prefer using Qt functions rather than kde4_add_unit_test. I finally got it to work, but I had to split the test class in .h and .cpp files, and call qt_wrap_cpp on header file, including mocs in sources when I call add_executable. Another question: it

Re: How to create and execute tests with CMake

2011-01-28 Thread Milian Wolff
On 01/28/11 08:59, Andreas Pakulat wrote: > On 27.01.11 23:14:59, Valentin Rusu wrote: >> On 01/27/2011 10:56 PM, Riccardo Bellini wrote: >>> Hello! >>> I wonder if there is a way to set up and run in CMake one or more test >>> like those created with Qt Unit Test library. >> Yes, there is a way :)

Re: How to create and execute tests with CMake

2011-01-28 Thread Andreas Pakulat
On 27.01.11 23:14:59, Valentin Rusu wrote: > On 01/27/2011 10:56 PM, Riccardo Bellini wrote: > > Hello! > > I wonder if there is a way to set up and run in CMake one or more test > > like those created with Qt Unit Test library. > Yes, there is a way :) > > I need to know in particular what command