Re: [Interest] Qt5 docs missing from Ubuntu 19.04

2019-05-13 Thread Kevin Funk via Interest
On Monday, 13 May 2019 08:24:01 CEST Phil wrote: > On 13/5/19 3:11 pm, Kevin Funk wrote: > > /usr/share/doc/qt5-doc-html does not contain a html directory and so > > > >> there are no help files. > >> > >> I'm wondering what other Ubuntu uses have done to overcome this problem? > > > > Heya, >

Re: [Interest] QFile/QDir: force move mode only?

2019-05-13 Thread d3fault
On 5/13/19, Bernhard Lindner wrote: >> QFile::rename should rename always or fail! It should never do >> completely different operation - copy! > > I agree. > Adding a non-copying rename method to QFile/etc seems justified. Maybe call it: fastRename, tryRename, or atomicRename? d3fault

Re: [Interest] Operator QMap[] is casting to int?

2019-05-13 Thread Thiago Macieira
On Saturday, 11 May 2019 09:02:34 PDT Roland Hughes wrote: > You can add methods which allow for good software engineering. For > everyone of the existing hacks you can add a "u" version which returns > an unsigned value and on failure a 0 while setting the failure bool. Won't do. That's a final

Re: [Interest] QFile/QDir: force move mode only?

2019-05-13 Thread Giuseppe D'Angelo via Interest
On 13/05/2019 11:31, Alexander Dyagilev wrote: And yes, this is a really unwanted behavior and it was a short-sighted decision to make it behave so. QFile::rename should rename always or fail! It should never do completely different operation - copy! It doesn't solve the problem at hand

Re: [Interest] QFile/QDir: force move mode only?

2019-05-13 Thread Bernhard Lindner
> QFile::rename should rename always or fail! It should never do > completely different operation - copy! I agree. -- Best Regards, Bernhard ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Qt Android - No application .pro file found, not building an APK.

2019-05-13 Thread Alexander Dyagilev
Hello, You need to use a newer version of Qt. E.g. Qt 5.11.3. On 5/9/2019 1:04 PM, Nuno Santos wrote: Hi, I’m have just installed Qt 5.9.8 in order to build a tested Qt based app of mine and I have been surprised with the following error: 10:59:49: No application .pro file found, not

Re: [Interest] QFile/QDir: force move mode only?

2019-05-13 Thread Alexander Dyagilev
And yes, this is a really unwanted behavior and it was a short-sighted decision to make it behave so. QFile::rename should rename always or fail! It should never do completely different operation - copy! On 5/13/2019 12:26 PM, Alexander Dyagilev wrote: On 5/12/2019 12:22 AM, Henry

Re: [Interest] QFile/QDir: force move mode only?

2019-05-13 Thread Alexander Dyagilev
On 5/12/2019 12:22 AM, Henry Skoglund wrote: QFile/QDir is pretty much at the mercy of the OS, i.e. if the OS refuses the renaming (for example on NTFS when you try to rename across volumes) then QFile dutifully copies the file instead. I know it. That's is what the question about. How to

Re: [Interest] Qt5 docs missing from Ubuntu 19.04

2019-05-13 Thread Phil
On 13/5/19 3:11 pm, Kevin Funk wrote: /usr/share/doc/qt5-doc-html does not contain a html directory and so there are no help files. I'm wondering what other Ubuntu uses have done to overcome this problem? Heya, According to packages.ubuntu.com the HTML docs are packaged. See: