Re: [Interest] [SOLVED] Text rendering problem.

2015-07-24 Thread Elvis Stansvik
2015-07-24 1:20 GMT+02:00 william.croc...@analog.com : > >> >> I have this working with DirectWrite on Windows, >> but it only appears to work when my app is built with debug mode. >> If I build it in release mode then it does *not* work >> and the text appears badly kerned. >> > > This was all my

Re: [Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

2015-07-24 Thread René J . V . Bertin
Thiago Macieira wrote: >> If this were a local build I'd just skip the LTO for QtScript, but the build >> is to be handled by a LauncPad PPA > > Add to script.pro: > QMAKE_CXXFLAGS -= -flto This is enough for QtScript (with a similar QMAKE_LFLAGS statement). However, for QtWebkit it is not

[Interest] QDir::EntryList

2015-07-24 Thread Graham Labdon
Hi If I want to get a list of all files and sub folders in a folder, but excluding dot and dotdot I thought that this should do the trick QDir myDir("somepath"); QStringList files = myDir.entryList(QDir::NoDotAndDotDot); However, this seems to return no strings Removing the filter returns the l

Re: [Interest] QDir::EntryList

2015-07-24 Thread Michael Sué
Hi, You will have to use something like this: QDir::Files|QDir::Dirs|QDir::NoDotAndDotDot - Michael. > -Original Message- > From: interest-bounces+sue=sf.mpg...@qt-project.org [mailto:interest- > bounces+sue=sf.mpg...@qt-project.org] On Behalf Of Graham Labdon > Sent: Friday, July 24, 2

Re: [Interest] Mac with Retina Display - Look is "Pixilated" with Qt-5.4.2

2015-07-24 Thread Till Oliver Knoll
> Am 22.07.2015 um 08:43 schrieb Robert Iakobashvili : > > On Wed, Jul 22, 2015 at 9:16 AM, Hamish Moffatt > wrote: >> On 22/07/15 15:52, Robert Iakobashvili wrote: >>> >>> Gentlemen, >>> A user pointed to the issue on >>> Mac Book Pro 15 inch mid 2015. AMD Radeon R9 graphic card, >>> 15.4-inch

Re: [Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

2015-07-24 Thread René J . V . Bertin
René J. V. Bertin wrote: >> That shouldn't happen. QT_COMPILER_SUPPORTS_SSE4_2 should not be defined, so >> this wouldn't evaluate to true: >> >> #if QT_COMPILER_SUPPORTS_HERE(SSE4_2) > > That's what I figured and that's why I tried the options. I'll see if I can > reproduce the issue and report

[Interest] iOS combobox

2015-07-24 Thread maitai
Hello, Sorry for the probably dumb question but since I upgraded to 5.5 I have a native looking QComboBox on iOS (a kind of wheel at the bottom of the screen). Is it a new feature in 5.5? Or is it because I went on a commercial license? Or I never noticed it, lol? Is there a way to deactivate

Re: [Interest] Mac with Retina Display - Look is "Pixilated" with Qt-5.4.2

2015-07-24 Thread Robert Iakobashvili
On Fri, Jul 24, 2015 at 2:36 PM, Till Oliver Knoll wrote: > >> Am 22.07.2015 um 08:43 schrieb Robert Iakobashvili : >> >> On Wed, Jul 22, 2015 at 9:16 AM, Hamish Moffatt >> wrote: >>> On 22/07/15 15:52, Robert Iakobashvili wrote: Gentlemen, A user pointed to the issue on Mac B

Re: [Interest] iOS combobox

2015-07-24 Thread Jason H
I think it is native. There was a bug in 5.4 where the Done was on the wrong side. In 5.5 it's on the right side. You can always make your own. > Sent: Friday, July 24, 2015 at 9:14 AM > From: maitai > To: Interest@qt-project.org > Subject: [Interest] iOS combobox > > Hello, > > Sorry for

[Interest] managing (deleting) dynamically created QML objects: Property 'destroy' of object TypeError: Type error is not a function

2015-07-24 Thread Jason H
So I successfully create them, but have trouble deleting them. Rectangle { property var indicators: [] function updateIndicators() { var i; var indicator; var component = Qt.createComponent("LastLocationIndicator.qml");

[Interest] Dynamic translation

2015-07-24 Thread Graham Labdon
Hi My Qt application supports dynamic translation IE the user can change languages whilst the application is running Now I have a need to find the English equivalent of a translated string and don't seem to be able to find a way For example Given QString s = tr("Hello"); I need to be able to

Re: [Interest] Dynamic translation

2015-07-24 Thread Jason H
Others can comment better but for a fast response that puts you on track. There ia a Qt event called TraslateUI or RetranslateUI (or something like that) when your user initiates the change of language, the signal needs to be sent and the UI will retranslate itself via the TR macros. > Sent:

Re: [Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

2015-07-24 Thread Thiago Macieira
On Friday 24 July 2015 14:23:08 René J. V. Bertin wrote: > René J. V. Bertin wrote: > >> That shouldn't happen. QT_COMPILER_SUPPORTS_SSE4_2 should not be defined, > >> so this wouldn't evaluate to true: > >> > >> #if QT_COMPILER_SUPPORTS_HERE(SSE4_2) > > > > That's what I figured and that's why I

Re: [Interest] Dynamic translation

2015-07-24 Thread Thiago Macieira
On Friday 24 July 2015 14:38:13 Graham Labdon wrote: > Given QString s = tr("Hello"); > I need to be able to get "Hello" from s after translation has taken place. You compare the originals. Don't compare translations. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Int

Re: [Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

2015-07-24 Thread René J . V . Bertin
Thiago Macieira wrote: > For Clang, QT_COMPILER_SUPPORTS_HERE(x) expands to a check defined(__x__) [in > this case, if __SSE4_2__ is defined]. I had a hunch it'd be that, but must have missed the actual macro definition where this would have become evident (I was working remotely, so only used

[Interest] setting focus to a QTableWidget Row

2015-07-24 Thread Rene Decartes
I am having trouble getting the 'new/next' row in a QTableWidget to have focus. I have a QTableWidget to hold authors names which will allow the user to add new author names to the 'list' of authors of a book. I am using a subclassed QItemDelegate and QTableWidgetItem similar to those in the spr

Re: [Interest] building Qt 4.8.7 with gcc 5 and link-time optimisation on Linux

2015-07-24 Thread Thiago Macieira
On Friday 24 July 2015 21:17:24 René J. V. Bertin wrote: > Thiago Macieira wrote: > > For Clang, QT_COMPILER_SUPPORTS_HERE(x) expands to a check defined(__x__) > > [in this case, if __SSE4_2__ is defined]. > > I had a hunch it'd be that, but must have missed the actual macro definition > where thi

Re: [Interest] Dynamic translation

2015-07-24 Thread Rainer Wiesenfarth
Am 24.07.2015 um 16:38 schrieb Graham Labdon: Hi My Qt application supports dynamic translation IE the user can change languages whilst the application is running Now I have a need to find the English equivalent of a translated string and don't seem to be able to find a way Depending on the us