See: http://doc.qt.io/qt-5/qtemporaryfile.html#open
"A QTemporaryFile will always be opened in QIODevice::ReadWrite mode, this
allows easy access to the data in the file. This function will return true
upon success and will set the fileName() to the unique filename used."
On Fri, Feb 17, 2017 at
When I call QTemporaryFile::open() with any OpenMode flags I get an error.
Code:
QTemporaryFile wi_file;
if (wi_file.open(QIODevice::WriteOnly)) {
Error:
/Users/lmartell/ia/cap/workItem.cpp:877:15: error: 'open' is a
protected member of 'QTemporaryFile'
if (wi_file.open(QIODevice::WriteO
I want to wrangle HTML-formatted text contained in a QTextDocument into a
specific drawing region, but I want it drawn there scaled-to-fit instead of
broken-to-fit. I'm not gettingthat, and I'm scratching my head.
Some code for discussion:
...
QTextDocument td;
td.setDocumentMargi
On Thursday, 16 February 2017 11:24:17 CET Richard Braun via cfe-dev wrote:
> On Wed, Feb 15, 2017 at 05:55:13PM +, Sérgio Martins wrote:
> > Beware that the new PMF syntax is not a drop in replacement for the old
> > style. Applying these fixits on a codebase might introduce bugs.
>
> Yes, th
Just doing my first AndroidForWork Qt App for one of my customers.
(QtQuickControls2)
Will blog about the details later.
With AndroidForWork (AfW) your Android device is managed by IT and there
are private apps and work apps.
I managed to deploy app to Android Device from QtC.
Sideloading Apps to