Re: KF5 Conversion problems

2018-03-11 Thread Albert Astals Cid
El diumenge, 11 de març de 2018, a les 14:40:56 CET, Robin Atwood va escriure: > On Sunday 11 March 2018, Michael Pyne wrote: > > > Yes, but the problem is the /usr/include/kdialog.h when it should be > > > finding /usr/include/KF5/KDELibs4Support/kdialog.h. I have > > > find_package(Qt5 Widgets...

Re: Is it possible to mock an external drive (for unit testing)?

2018-03-11 Thread Albert Astals Cid
El dissabte, 10 de març de 2018, a les 18:27:51 CET, Michael Heidelbach va escriure: > Hi! > > Is it? How? > > Do examples exist? You'll really need to be more specific, my initial answer would be, why would you care if something is a external drive? Cheers, Albert > > > Thanks in advanc

Re: Q_ASSERT(!FalseSecurity)

2018-03-11 Thread Thiago Macieira
On Saturday, 10 March 2018 00:53:24 PDT Michael Heidelbach wrote: > Hi! > > Am I getting something wrong? Or is > > "Q_ASSERT(m_writeTrans); > > m_writeTrans->commit();" > > providing false security? This is not false security. It's not security, period. You use a Q_ASSERT when a viol

Re: KF5 Conversion problems

2018-03-11 Thread Michael Pyne
On Sun, Mar 11, 2018 at 08:40:56PM +0700, Robin Atwood wrote: > On Sunday 11 March 2018, Michael Pyne wrote: > > > Yes, but the problem is the /usr/include/kdialog.h when it should be > > > finding /usr/include/KF5/KDELibs4Support/kdialog.h. I have > > > find_package(Qt5 Widgets... already. > > >

Re: KF5 Conversion problems

2018-03-11 Thread Robin Atwood
On Sunday 11 March 2018, Michael Pyne wrote: > > Yes, but the problem is the /usr/include/kdialog.h when it should be > > finding /usr/include/KF5/KDELibs4Support/kdialog.h. I have > > find_package(Qt5 Widgets... already. > > Sounds like 2 problems I think. > > First you need to fix the kdialog.h