Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread Koehne Kai
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of K. Frank Sent: Tuesday, April 16, 2013 12:19 AM To: Qt-interest Subject: Re: [Interest] Several issues compiling Qt 4.8.4 with

[Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) How can I fix this issue? PS I filed a bug report about this issue[2] but I still need at least a temporarily solution because 5.0.2

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Bache-Wiig Jens
On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi mbno...@gmail.com wrote: Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) How can I fix this issue? You might first want to

Re: [Interest] Compilation issue for OpenGL ES2 on ARM/Linux

2013-04-16 Thread Thomas Senyk
On Tue, April 16, 2013 07:47:32 AM Andre Renaud wrote: Hi Thomas, I don't think it's a problem with egl.h itself. The problem seems actually to be that for some reason QT_NO_EGL is getting defined, meaning that when egl/qegl_p.h is #include'd, it ends up only defining a few of the EGL options

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 09:30 AM, Bache-Wiig Jens wrote: On Apr 16, 2013, at 9:17 AM, Muhammad Bashir Al-Noimi mbno...@gmail.com wrote: Hello Guys, QMenu doesn't work with RightToLeft layout direction (as shown in this screenshot[1]) although I called setLayoutDirection(Qt::RightToLeft) How

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread K. Frank
Hello Kai! On Tue, Apr 16, 2013 at 2:53 AM, Koehne Kai wrote: -Original Message- [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of K. Frank [...] I also have the concern that if I do turn off c++11 when building QtScript / QtWebKit, even if the Qt build

Re: [Interest] How to use DiffEditorPlugin::diff() API in my own Qt creator plugin?

2013-04-16 Thread gemfield
Kai: Thanks. :) -- Gemfield.org -原始邮件- 发件人: Koehne Kai kai.koe...@digia.com 发送时间: 2013年4月15日 星期一 收件人: gemfield gemfi...@civilnet.cn 抄送: interest@qt-project.org interest@qt-project.org, qt-crea...@qt-project.org qt-crea...@qt-project.org 主题: RE: [Interest] How to use

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Diego Iastrubni
Muhammad, The Qt application, was it Qt5 or Qt4? I know for sure that Qt4 has no issues in regarding RTL. I will look into Qt5. On Tue, Apr 16, 2013 at 1:40 PM, Muhammad Bashir Al-Noimi mbno...@gmail.com wrote: On 04/16/2013 09:30 AM, Bache-Wiig Jens wrote: On Apr 16, 2013, at 9:17 AM,

Re: [Interest] Qt 5.0.2 speed and widgets

2013-04-16 Thread Yves Bailly
Le 14/04/2013 19:55, Philippe a écrit : Compared to Qt 4.8.x, I experiment a very sensible reduction of speed in 5.0.2 when widgets are created or complex windows activated. In Release mode this is sort of acceptable,... maybe half speed. But in debug mode, this is dramatically slower, up to

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread Andreas Pakulat
Hi, On Tue, Apr 16, 2013 at 1:34 PM, K. Frank kfrank2...@gmail.com wrote: Hello Kai! On Tue, Apr 16, 2013 at 2:53 AM, Koehne Kai wrote: Actually I'd expect that to work just fine. The commonly reported issue with mixing e.g. -std=c++11 and -std=gnu++98 (the default) is ABI changes in the

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread Koehne Kai
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of K. Frank Sent: Tuesday, April 16, 2013 1:35 PM To: Qt-interest Subject: Re: [Interest] Several issues compiling Qt 4.8.4 with

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread Thiago Macieira
On terça-feira, 16 de abril de 2013 07.34.55, K. Frank wrote: My expectation is that my code that uses QtScript, for example, that also uses -std=c++11, would be likely to include (indirectly) headers like HashTable.h and JSImmediate.h, and would therefore fail to compile. Correct. Any code

[Interest] QtCreator 2.7 - Thread list not showing during debugging

2013-04-16 Thread Michael Jackson
I recently updated from QtCreator 2.6.2 on OS X 10.6.8 to QtCreator 2.7 on the same system. I have noticed on the new Creator 2.7 that if I break at a breakpoint or just break by clicking the Pause button that the thread combobox does not populate at all. I know I have more than a single

Re: [Interest] Postgresql database driver in 5.0.2

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/11/2013 07:35 PM, M. Bashir Al-Noimi wrote: Hi, I've read the change log of Qt 5.0.2[1] and it mentioned that the new release has SQLite and Postgresql database drivers but after downloading the new release for Window 32 mingw I found it hasn't! Did I misunderstand the change log or

Re: [Interest] Postgresql database driver in 5.0.2

2013-04-16 Thread Thiago Macieira
On terça-feira, 16 de abril de 2013 23.02.39, Muhammad Bashir Al-Noimi wrote: On 04/11/2013 07:35 PM, M. Bashir Al-Noimi wrote: Hi, I've read the change log of Qt 5.0.2[1] and it mentioned that the new release has SQLite and Postgresql database drivers but after downloading the new

Re: [Interest] Fwd: Deployment by Qt Installer Framework

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/14/2013 08:03 PM, Soroush R wrote: I can't see why you need ldd on Linux. Do you put shared objects of qt beside your application or libraries ? I use ldd because current

Re: [Interest] QMenu RightToLeft layout direction issue

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 02:52 PM, Diego Iastrubni wrote: Muhammad, The Qt application, was it Qt5 or Qt4? I know for sure that Qt4 has no issues in regarding RTL. I will look into Qt5. I mentioned at the first message of this thread that I'm using Qt 5.0.2

[Interest] Cannot resolve qt_plugin_instance in QQmlExtensionPlugin

2013-04-16 Thread Maxim Kouprianov
Hi all. I'm trying to write some QML extension plugin (QQmlExtensionPlugin, Qt5.0). But it fails to load completely: plugin cannot be loaded for module MyPlugin.MyClass: Cannot resolve symbol qt_plugin_instance in imports/MyPlugin/MyClass/libmypluginmyclassplugin.so: (Symbol not found:

Re: [Interest] Postgresql database driver in 5.0.2

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/16/2013 11:08 PM, Thiago Macieira wrote: On terça-feira, 16 de abril de 2013 23.02.39, Muhammad Bashir Al-Noimi wrote: On 04/11/2013 07:35 PM, M. Bashir Al-Noimi wrote: Hi, I've read the change log of Qt 5.0.2[1] and it mentioned that the new release has SQLite and Postgresql database

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread K. Frank
Hello Kai! First off, thanks to Kai and Thiago for their help and support with this. Also, I've taken the liberty of cross-posting this to the mingw64 list, just in case anyone over there knows something relevant. On Tue, Apr 16, 2013 at 9:48 AM, Koehne Kai wrote: -Original Message-

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread Thiago Macieira
On terça-feira, 16 de abril de 2013 18.03.20, K. Frank wrote: When I build my code (which will typically use various c++11 features) I will specify -std=gnu++11 even though I will be linking to (and using the headers of) the Qt installation I build without -std=gnu++11. (I am not actually

[Interest] Database drivers

2013-04-16 Thread Muhammad Bashir Al-Noimi
Hello, I filed a suggestion https://bugreports.qt-project.org/browse/QTBUG-29802 since some months ago about shipping SQL drivers with Qt installers. So I'm wondering is there any progress about this issue? I'll be glad to five them a try. PS Thiago told me they will be avaliable for 5.1.0

[Interest] How best to turn on -std=gnu++11 when using qmake to build a project?

2013-04-16 Thread K. Frank
Hello List! When I am using qmake to build a project that uses Qt, what is the best way to turn on the compiler flag -std=gnu++11? (I am using a mingw-w64 build of g++ 4.8.1.) Ideally, I would like to do this on a global basis, and not have to do it for each project separately (but that's not

Re: [Interest] Database drivers

2013-04-16 Thread Muhammad Bashir Al-Noimi
On 04/17/2013 12:15 AM, Muhammad Bashir Al-Noimi wrote: Hello, I filed a suggestion since some months ago about shipping SQL drivers with Qt installers. So I'm wondering is there any progress about this

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to -std=gnu++11

2013-04-16 Thread K. Frank
Hi Thiago - On Tue, Apr 16, 2013 at 6:08 PM, Thiago Macieira thiago.macie...@intel.com wrote: On terça-feira, 16 de abril de 2013 18.03.20, K. Frank wrote: When I build my code (which will typically use various c++11 features) I will specify -std=gnu++11 even though I will be linking to (and

Re: [Interest] How best to turn on -std=gnu++11 when using qmake to build a project?

2013-04-16 Thread Alexandre Pretyman
Hi! For each project you can check out out QMAKE_CXXFLAGS and QMAKE_LFLAGS on http://qt-project.org/doc/qt-5.0/qtdoc/qmake-variable-reference.html For global I guess you can edit the mkspecs for you compiler Best regards, On Tue, Apr 16, 2013 at 7:17 PM, K. Frank kfrank2...@gmail.com wrote: