From kde-core-devel Sat Aug 03 19:13:06 2013 From: Milian Wolff Date: Sat, 03 Aug 2013 19:13:06 +0000 To: kde-core-devel Subject: Re: Broken tests in kdelibs due to kio change Message-Id: <1890759.cMMHteLnUG () minime> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=137555720132255 On Saturday 03 August 2013 19:54:45 Albert Astals Cid wrote: > El Dissabte, 3 d'agost de 2013, a les 19:52:28, Albert Astals Cid va escriure: > > El Dissabte, 3 d'agost de 2013, a les 13:39:40, Dawit A va escriure: > > > OK. I see why those tests failed and I fixed them not to anymore. > > > Updating > > > the clibpboard in KIO introduced a dependency on QtGui. > > > Hence QTEST_KDEMAIN( KDirModelTest, NoGUI ) has to be changed > > > to QTEST_KDEMAIN( KDirModelTest, GUI ). > > > > > > Hmm... I am curious if the dependency on QClipboard makes it difficult > > > to > > > split this into core/gui in frameworks? > > > > I am not a KIO specialist, is this new runtime dependency ok that late in > > the release cycle? > > Also, how hard would it be to detect we are running guiless and not use > QClipboard? Is that possible at all? Yes, it's doable. You still have to link against QtGui though. See http://qt-project.org/doc/qt-4.8/qapplication.html#Type-enum and http://qt-project.org/doc/qt-4.8/qapplication.html#type Bye -- Milian Wolff mail@milianw.de http://milianw.de