Re: [Interest] Correcting deployment linkages in Linux shared libraries

2013-12-03 Thread Rainer Wiesenfarth
Am 04.12.2013 07:25, schrieb Thiago Macieira: On quarta-feira, 4 de dezembro de 2013 06:20:45, Rainer Wiesenfarth wrote: What we did in addition for our software is to add these options to the Qt configure: -buildkey namexyz -no-rpath -R $ORIGIN This was used to prevent 'our' QtCore4.so (?

Re: [Interest] Correcting deployment linkages in Linux shared libraries

2013-12-03 Thread Thiago Macieira
On quarta-feira, 4 de dezembro de 2013 06:20:45, Rainer Wiesenfarth wrote: > What we did in addition for our software is to add these options to the > Qt configure: > >-buildkey namexyz -no-rpath -R $ORIGIN > > This was used to prevent 'our' QtCore4.so (?) from loading > system-installed plug

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-03 Thread Mandeep Sandhu
On Tue, Dec 3, 2013 at 10:39 PM, Jason Kretzer wrote: > Ah, I see! Now I understand what you mean. > > I rewrote my “player” object to use a Qtimer that fires every 1 second and > is started/stopped according to signals. However, it still has the same > problem where the timer won’t fire someti

Re: [Interest] Correcting deployment linkages in Linux shared libraries

2013-12-03 Thread Rainer Wiesenfarth
Am 04.12.2013 05:58, schrieb Thiago Macieira: On terça-feira, 3 de dezembro de 2013 19:51:44, Bob Hood wrote: [...] However, the plug-in shared libraries don't seem to be adhering to this redirection mechanism. If I deploy to a "clean" installation of my Linux distribution, the shared libraries

Re: [Interest] Correcting deployment linkages in Linux shared libraries

2013-12-03 Thread Thiago Macieira
On terça-feira, 3 de dezembro de 2013 19:51:44, Bob Hood wrote: > There's probably an obvious solution to this, so forgive me if so. > > I'm building an Qt-based application that uses shared libraries as plug-ins. > Both the application and the plug-ins link to the Qt libraries in my > installatio

[Interest] Correcting deployment linkages in Linux shared libraries

2013-12-03 Thread Bob Hood
There's probably an obvious solution to this, so forgive me if so. I'm building an Qt-based application that uses shared libraries as plug-ins. Both the application and the plug-ins link to the Qt libraries in my installation (in this case, in /usr/local/qt/4.8.4/...). When I deploy, I copy the

Re: [Interest] OpenGL under Android... glMatrixMode(GL_PROJECTION) was not declared in this scope

2013-12-03 Thread Guido Seifert
#%$&%^!$%@# Difference between OpenGL and OpenGL ES. > > Hi. a program, which uses OpenGL and runs fine under Linux gives me problems > under Android. > Errors like: GL_PROJECTION was not declared in this scope. glMatrixMode was > not declared in > this scope, etc... > > Is this a general

[Interest] OpenGL under Android... glMatrixMode(GL_PROJECTION) was not declared in this scope

2013-12-03 Thread Guido Seifert
Hi. a program, which uses OpenGL and runs fine under Linux gives me problems under Android. Errors like: GL_PROJECTION was not declared in this scope. glMatrixMode was not declared in this scope, etc... Is this a general problem? Or am I just missing some defines in my .pro? Guido

Re: [Interest] Is this working for anyone, making a QML extension.

2013-12-03 Thread Alan Alpert
My guess is that "importPaths" in the .qmlproject file never got hooked up for qmlscene. Try setting the import path and running the file manually, i.e. "qml -I /your/long/import/path yourQmlFile.qml". -- Alan Alpert On Tue, Dec 3, 2013 at 2:37 PM, Mark Gaiser wrote: > Hi, > > I guess i'm doing

Re: [Interest] Is this working for anyone, making a QML extension.

2013-12-03 Thread Mark Gaiser
On Tue, Dec 3, 2013 at 11:37 PM, Mark Gaiser wrote: > Hi, > > I guess i'm doing something horribly wrong, but i never hurts to ask a > confirmation here. > I'm making a QML extension (using 5.2 stable branch and QtCreator > 3.0). Somehow i keep getting: "module "" is not > installed". The paths ar

[Interest] Is this working for anyone, making a QML extension.

2013-12-03 Thread Mark Gaiser
Hi, I guess i'm doing something horribly wrong, but i never hurts to ask a confirmation here. I'm making a QML extension (using 5.2 stable branch and QtCreator 3.0). Somehow i keep getting: "module "" is not installed". The paths are right, QtCreator is even highlighting them as if it found them w

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-03 Thread Jason Kretzer
Ah, I see! Now I understand what you mean. I rewrote my “player” object to use a Qtimer that fires every 1 second and is started/stopped according to signals. However, it still has the same problem where the timer won’t fire sometimes for extended periods. I guess that means something in the

[Interest] [ANN] C++Now 2014: 5 Days to Submissions Deadline

2013-12-03 Thread Boris Kolpackov
Hi, Only 5 days left before the submissions deadline for C++Now 2014! C++Now is a general C++ conference for C++ experts and enthusiasts. It is not specific to any library/framework or compiler vendor and has three tracks with presentations ranging from hands-on, practical tutorials to advanced C

Re: [Interest] using designer plugin in application

2013-12-03 Thread Harish Surana
Great!! Keep exploring Qt :) It is wonderful framework. On Tue, Dec 3, 2013 at 12:50 PM, Graham Labdon < graham.lab...@avalonsciences.com> wrote: > Hi > > I have the answer for making this work with Visual Studio > > In Widget.dll I have MyLabel.h and MyLabel.cpp > > In this project I set the p

Re: [Interest] using designer plugin in application

2013-12-03 Thread Graham Labdon
Hi I have the answer for making this work with Visual Studio In Widget.dll I have MyLabel.h and MyLabel.cpp In this project I set the pre-processor directive QDESIGNER_EXPORT_WIDGETS MyLabel is declared as class QDESIGNER_WIDGET_EXPORT MyLabel : public QLabel ... In the plugin project I add MyLa

Re: [Interest] using designer plugin in application

2013-12-03 Thread Harish Surana
I would say first try to run this example http://qt-project.org/doc/qt-4.8/designer-customwidgetplugin.html and then compare with your implementation. On Tue, Dec 3, 2013 at 12:24 PM, Graham Labdon < graham.lab...@avalonsciences.com> wrote: > So I added the export and includes QDesignerExportWi

Re: [Interest] using designer plugin in application

2013-12-03 Thread Graham Labdon
So I added the export and includes QDesignerExportWidget to my class and now it wont compile - Moc'ing MyLabel.h... 1> moc_MyLabel.cpp 1>Build\moc\moc_MyLabel.cpp(55): warning C4273: 'MyLabel::qt_static_metacall' : inconsistent dll linkage 1> c:\sandbox\testplugin\widgets\build\moc\../

Re: [Interest] using designer plugin in application

2013-12-03 Thread Joseph Crowell
At least in the last 6 years since I started using Qt, plugins must be compiled against the same compiler that Designer/Creator were compiled against or they won't show up. That means the same version of Visual Studio (2008, 2010, 2012). I think Designer/Creator in the packages are compiled aga

Re: [Interest] using designer plugin in application

2013-12-03 Thread Harish Surana
If you look for QDESIGNER_WIDGET_EXPORT in the documentation. You will get: QDESIGNER_WIDGET_EXPORT This macro is used when defining custom widgets to ensure that they are correctly exported from plugins for use with *Qt Designer*. On some platforms, the symbols required by *Qt Designer* to creat

Re: [Interest] using designer plugin in application

2013-12-03 Thread Graham Labdon
Hi I have read this but cannot get it to work (I am using Qt5.1.1 with Visual Studio I have a library called Widgets.dll that contains 1 class declared as #include #include "widgets_global.h" class WIDGETS_EXPORT MyLabel : public QLabel { Q_OBJECT public: MyLabel(Q

Re: [Interest] using designer plugin in application

2013-12-03 Thread Harish Surana
Yes it is technically possible to make the widgets accessible to Qt Designer without linking *widgets dll* against *QtDesigner4.dll*. Some possible approaches are described here: http://qt-project.org/doc/qt-4.8/designer-creating-custom-widgets.html (see the section "Splitting up the Plugin"). On

[Interest] using designer plugin in application

2013-12-03 Thread Graham Labdon
Hi I have developed a number of Qt Designer plugins and can use them in my applications. But obviously I need my apps to link against the plugin library which means when I deploy the application I need to deploy the plugin library as well. What I would like is for widget classes to be compiled in

Re: [Interest] OpenGL and resolving gl functions

2013-12-03 Thread Sletta Gunnar
1: The QOpenGLWidget is still planned, but we didn't have time to do in for 5.2, so it has been delayed for a later release. 2: When you have Qt-only GL code, you get the benefit of Qt resolving OpenGL functions for you as you have already noticed. You can either subclass the QOpenGLFunctions t