Broken tests in kdelibs due to kio change
Milian Wolff
mail at milianw.de
Sat Aug 3 20:13:06 BST 2013
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 at milianw.de
http://milianw.de
More information about the kde-core-devel
mailing list