Re: [Interest] :-1: error: cannot find -lrwlineeditplugin

2014-01-20 Thread Robert Wood
FWIW - just in case it helps someone in future, this turned out to be a permissions thing. For some reason, and I can't work out why, it was compiling the plug in with root permission only. Once I gave everyone access it worked. On 16/01/14 10:02, Robert Wood wrote: Folks, I've been using

[Interest] Qt Quick Scene Graph, texture questions, Qt 5.2.0

2014-01-20 Thread Ola Røer Thorsen
Hi, I've got 3 questions about texture use in the Qt Quick scene graph: 1. In general it's recommended in OpenGL to use power-of-two-sized textures whenever possible, for performance resons. Does the Qt Quick scenegraph deal with this in any way, or is it up to the user to use properly sized

Re: [Interest] How to change QFont::StyleStrategy from QML?

2014-01-20 Thread Bo Thorsen
Den 19-01-2014 14:49, ElderOrb skrev: I have a font which is unfortunately rendered incorrectly unless QFont::StyleStrategy set to QFont::NoFontMerging. This font is being loaded via QML Loader and used by many QML controls. Unfortunately 'QFont::NoFontMerging' is not exposed to QML so I can't

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Bo Thorsen
Den 16-01-2014 14:42, Guido Seifert skrev: Hi, when I use cmake I can create a file config.h.in, which contains things like: #define Version @VERSION@ in the CMakeLists.txt I can define a variable: SET(VERSION something) and add: configure_file ( config.h.in ) This creates a

[Interest] Problem with QPixmap using framebuffer with omapfb. Works with qt 4.x, but dosn’t work using qt 5.x

2014-01-20 Thread Georg . Brand
Hello As 'SGaist' from qt-project Forum suggested, I will send this Problem to this Mailing List: Hello The subject describes the Problem. Platform is a Debian armel Linux (Wheezy). Using omapfb as display driver to the framebuffer. Hardware is an AM3517.

Re: [Interest] Detach widget from QDockWidget

2014-01-20 Thread Bo Thorsen
Den 15-01-2014 18:15, Etienne Sandré-Chardonnal skrev: Hi, In my app, I have tabs in the main window. A dock widget allows setting display options for the current tab. Since each tab may have a different dock widget options layout, I was considering the following: - Each tab keeps a

Re: [Interest] Masked widget glitch

2014-01-20 Thread Bo Thorsen
Den 18-01-2014 07:03, Sensei skrev: So... no one is experiencing the weird behavior I've posted about? Why is this happening, in your opinion? I don't know exactly why this is happening, but I would do something entirely different: Subclass QWidget for the Editor object. Add

Re: [Interest] whether a color image can SAFELY be converted to a grayscale image

2014-01-20 Thread Bo Thorsen
Den 14-01-2014 12:59, iMath skrev: In the Image Formats part of QImage doc says The allGray() and isGrayscale() functions tell whether a color image can safely be converted to a grayscale image. what does safely mean here ? Without loss of information, IIRC. Bo. -- Bo Thorsen, European

Re: [Interest] QtThread

2014-01-20 Thread Bo Thorsen
Den 13-01-2014 17:05, Etienne Sandré-Chardonnal skrev: Thanks for the link! You are right, in fact only the moveToThread(this) approach should be really avoided. 2014/1/13 Sze Howe Koh szehowe@gmail.com mailto:szehowe@gmail.com To balance things out, here's a direct response

[Interest] PVRTC textures in Qt Quick 2?

2014-01-20 Thread Ola Røer Thorsen
Is it possible to use PVRTC texture compression in Qt Quick 2 on PowerVR gpus? If not, what would it take to add such a feature? I searched through the Qt 5.2.0 source code, seems there was PVRTC support in the old QGL* classes, but nothing in the QOpenGL* classes. Cheers, Ola

Re: [Interest] Mouse un-selecting behaviour of listviews

2014-01-20 Thread Bo Thorsen
Den 13-01-2014 13:19, Philipp Kursawe skrev: I somehow do not understand the unselecting behaviour of Qt. Its totally confusing, if not broken. One an item has been selected its nearly impossible to clear the selection to click on a free space in the listview. Easily reproducible by just

[Interest] QT_NO_EXCEPTIONS

2014-01-20 Thread Alex Merry
[It is possible this belongs more on the development list, but I thought I'd play safe and post it here first] Qt uses a QT_NO_EXCEPTIONS preprocessor macro to decide whether to enable various exception-related code, both in headers and in its source code. qmake defines QT_NO_EXCEPTIONS if and

Re: [Interest] PVRTC textures in Qt Quick 2?

2014-01-20 Thread Gunnar Sletta
You can install a custom image provider that provides the PowerVR texture directly as a QSGTexture. In the scenegraph playground repository there is already a plugin that does this for AMD compressed textures. You can use that as a basis for your code.

Re: [Interest] Qt Quick Scene Graph, texture questions, Qt 5.2.0

2014-01-20 Thread Gunnar Sletta
On 20 Jan 2014, at 11:54, Ola Røer Thorsen o...@silentwings.no wrote: Hi, I've got 3 questions about texture use in the Qt Quick scene graph: 1. In general it's recommended in OpenGL to use power-of-two-sized textures whenever possible, for performance resons. Does the Qt Quick

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Guido Seifert
Hi, Bo. Someday for sure. But I needed a solution fast. And a quick Python hack was much faster than me delving into something totally unknown. Totally unknown for me at least. Guido As someone already told you, no this can't be done. But instead of doing a python script or some other home

Re: [Interest] QMake generation config file from variables in .pro file

2014-01-20 Thread Stephen Kelly
Bo Thorsen wrote: Den 16-01-2014 14:42, Guido Seifert skrev: Hi, when I use cmake I can create a file config.h.in, which contains things like: #define Version @VERSION@ in the CMakeLists.txt I can define a variable: SET(VERSION something) and add: configure_file ( config.h.in ) This

Re: [Interest] PVRTC textures in Qt Quick 2?

2014-01-20 Thread Ola Røer Thorsen
2014/1/20 Gunnar Sletta gunnar.sle...@jolla.com You can install a custom image provider that provides the PowerVR texture directly as a QSGTexture. In the scenegraph playground repository there is already a plugin that does this for AMD compressed textures. You can use that as a basis for

Re: [Interest] Qt Quick Scene Graph, texture questions, Qt 5.2.0

2014-01-20 Thread Ola Røer Thorsen
Thanks Gunnar :-) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtThread

2014-01-20 Thread Thiago Macieira
On segunda-feira, 20 de janeiro de 2014 12:41:33, Bo Thorsen wrote: I have just created a suggestion in the bug tracker to make it illegal to do moveToThread(this): https://bugreports.qt-project.org/browse/QTBUG-36278 It can't be said often enough: Don't do this! But if it was illegal

Re: [Interest] QT_NO_EXCEPTIONS

2014-01-20 Thread Thiago Macieira
On segunda-feira, 20 de janeiro de 2014 12:21:14, Alex Merry wrote: This means that QT_NO_EXCEPTIONS matches whether the user of Qt is being compiled with exceptions, rather than Qt itself, and so the headers may not always match the library code. That's because no matching is required. It's

Re: [Interest] How to change QFont::StyleStrategy from QML?

2014-01-20 Thread Alexander Ivash
2014/1/20 Bo Thorsen bthor...@ics.com Den 19-01-2014 14:49, ElderOrb skrev: I have a font which is unfortunately rendered incorrectly unless QFont::StyleStrategy set to QFont::NoFontMerging. This font is being loaded via QML Loader and used by many QML controls. Unfortunately

[Interest] Unable to create QDialog popup with resizeable border but no title bar

2014-01-20 Thread Philipp Kursawe
In Win32 thats pretty easy to achieve. However I found no way to create a resizable popup dialog in Qt. Specifying the Popup style does not even generate the WM_NCHITTEST Win32 messages I would need to add resizing behaviour. But I would also be happy to use the system provided thick resize frame

Re: [Interest] Unable to create QDialog popup with resizeable border but no title bar

2014-01-20 Thread Tony Rietwyk
Hi Philipp, Have you tried adding Qt::CustomizeWindowHint without Qt::WindowTitleHint in your window flags? Regards, Tony Sent: Tuesday, 21 January 2014 9:27 AM In Win32 thats pretty easy to achieve. However I found no way to create a resizable popup dialog in Qt.

[Interest] QML LocalStorage

2014-01-20 Thread Joshua Kolden
Is there any way to ‘drop’ the database or delete the local store file through the LocalStorage interface? Otherwise it seems like I must keep every schema I’ve ever deployed so I can clean up and update a local store database regardless of the version the user is upgrading from. I’d prefer to

Re: [Interest] PVRTC textures in Qt Quick 2?

2014-01-20 Thread Gunnar Sletta
On 20 Jan 2014, at 16:04, Ola Røer Thorsen o...@silentwings.no wrote: 2014/1/20 Gunnar Sletta gunnar.sle...@jolla.com You can install a custom image provider that provides the PowerVR texture directly as a QSGTexture. In the scenegraph playground repository there is already a plugin that