Re: [Interest] Qt -4.8.3 self compiled is corrupted when complete

2012-11-27 Thread R. Reucher
On Tuesday 27 November 2012 03:54:06 Mike Jackson wrote: I am trying to compile Qt 4.8.3 with a fully patched Visual Studio 2010 Service Pack 1 as a 64 bit compile. When the compile finishes and I try to launch assistant or designer they just crash out. No error dialog or anything. They just

Re: [Interest] 60FPS and FBO

2012-11-27 Thread Samuel Rødal
On 11/26/2012 05:50 PM, Thomas Senyk wrote: Hi, the context of this is mail is: - scenegraph - FBO based effects (plain shader-effects, qtgraphicaleffects, qt3d) - embedded hardware / opengl es 2.0 I've noticed that on a lot of embedded systems the FPS drops rather drastically

[Interest] QGLWidget initial viewport problem

2012-11-27 Thread Jean-Pierre Gehrig
Hello, I have a QGLWidget in my application which displays it's content in a centered square GL viewport. In resizeGL() I setup the GL viewport with: int side = qMin(width, height); glViewport((width - side) / 2, (height - side) / 2, side, side); The initial glViewport() call doesn't produce

Re: [Interest] 60FPS and FBO

2012-11-27 Thread Thomas Senyk
On Mon, November 26, 2012 17:42:18 Florian Boucault wrote: Hi Thomas, I have noticed similar issues on Linux based systems. I use the following environment variables that fixes the issue for me: QML_FORCE_THREADED_RENDERER=1 Hm right ... I knew about it, but I've rarely used it. I should,

Re: [Interest] 60FPS and FBO

2012-11-27 Thread Thomas Senyk
On Tue, November 27, 2012 10:12:58 Samuel Rødal wrote: On 11/26/2012 05:50 PM, Thomas Senyk wrote: Hi, the context of this is mail is: - scenegraph - FBO based effects (plain shader-effects, qtgraphicaleffects, qt3d) - embedded hardware / opengl es 2.0 I've noticed

[Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-27 Thread Sergey
Hello, I built QT 4.7.4 on MacOS 10.4 Tiger. When I build my app, I get this error while linking: /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _CFDataGetBytePtr _CFDataGetLength _CFDataGetTypeID _CFGetTypeID

Re: [Interest] Qt -4.8.3 self compiled is corrupted when complete

2012-11-27 Thread Michael Jackson
On Nov 27, 2012, at 3:55 AM, R. Reucher rene.reuc...@batcom-it.net wrote: On Tuesday 27 November 2012 03:54:06 Mike Jackson wrote: I am trying to compile Qt 4.8.3 with a fully patched Visual Studio 2010 Service Pack 1 as a 64 bit compile. When the compile finishes and I try to launch

Re: [Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-27 Thread Konstantin Tokarev
27.11.2012, 17:15, Sergey sh0...@gmail.com: I didn't link with zlib at all. I solved problem adding this line to the pro file: include(...qt/4.7.4/qt-everywhere-opensource-src-4.7.4/src/3rdparty/zlib_dependency.pri) Use -lz instead. Works for any Unix-like OS including Mac. -- Regards,

Re: [Interest] Issue in drawing CheckBox using QStyle::drawPrimitive

2012-11-27 Thread Lijo Antony
On 11/27/2012 06:03 PM, Nurmi J-P wrote: I am drawing a checkbox inside a custom delegate using QStyle::drawPrimitive. I use this custom delegate to render items of a QListView. Paint method of my custom delegate is as below, void MytDelegate::paint(QPainter *painter, const

[Interest] QGraphicsView widget vs opengl viewport

2012-11-27 Thread Calogero Mauceri
Hi, In my application I have a QGrapricsScene with a big amount of polygon items in it (more than 50,000 QGraphicsPolygonItem). I found out in the documentation that it is possible to set a QGLWidget as the viewport of the QGraphicsView. By default, QGraphicsView provides a regularQWidget

[Interest] Application wide shortcuts in QML?

2012-11-27 Thread Mark
Hi, In Qt you have QShortcut to make application wide shortcuts. However, QShortcut required a QWidget to work. That kinda prevents me to map QShortcut to a QML element because i don't have a QWidget in there. Does anyone know how i can get application wide shortcuts in QML? What i can do (as a

Re: [Interest] Application wide shortcuts in QML?

2012-11-27 Thread Mark
On Tue, Nov 27, 2012 at 10:08 PM, Mark mark...@gmail.com wrote: Hi, In Qt you have QShortcut to make application wide shortcuts. However, QShortcut required a QWidget to work. That kinda prevents me to map QShortcut to a QML element because i don't have a QWidget in there. Does anyone know

Re: [Interest] QGraphicsView widget vs opengl viewport

2012-11-27 Thread d3fault
For portability, it's easy to let the system you're compiling on decide whether or not to use OpenGL. Check out the Video Graphics Item example ( http://qt-project.org/doc/qt-4.8/multimedia-videographicsitem.html ) to see how trivial it is to set up a few #ifndefs for this. Specifically, look in

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 03:16, VStevenP wrote: Is there any way to configure Qt5 Beta2 Mac to _only_ build for release? If I do configure with the -release setting, it still ends up doing debug_and_release.: qmake vars .. qmake switches . Build .. libs tools examples

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread VStevenP
From: Lincoln Ramsay a1291...@gmail.com To: interest@qt-project.org Sent: Tuesday, November 27, 2012 5:47 PM Subject: Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac On 28/11/12 03:16, VStevenP wrote: Is there any way to configure Qt5 Beta2 Mac to _only_ build for release?

Re: [Interest] Dynamically generating a states and transitions array in javascript?

2012-11-27 Thread Mark
Op 26 nov. 2012 22:11 schreef Mark mark...@gmail.com het volgende: Hi, I have a states array in QML that looks like this: states: [ State { name: icon PropertyChanges { target: viewContainer; source: views/IconView.qml } }, State {

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 11:29, VStevenP wrote: Thanks for your thoughts...it's much appreciated. I simply did: ./configure -prefix $PWD/qtbase -release -opensource from within a freshly-created qt-everywhere-opensource-src-5.0.0-beta2 directory. I created this directory using tar xvzf on the file

Re: [Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-27 Thread Sergey
List of non-found by linker functions became less after linking with zlib. But these functions are still not found: _CFDataGetBytePtr _CFDataGetLength _CFDataGetTypeID _CFGetTypeID ___CFConstantStringClassReference _FrontWindow _GetCurrentProcess _SelectWindow _SetFrontProcess _ShowWindow What

Re: [Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-27 Thread Michael Jackson
Looks like some of the Core Apple Frameworks need to also be linked. The names of which are escaping me at the moment. I bet a quick google search would turn up the proper frameworks. mike j. On Nov 27, 2012, at 11:55 PM, Sergey sh0...@gmail.com wrote: List of non-found by linker functions

[Interest] explore contents of built in qmake variables

2012-11-27 Thread Sergey
Hi, is there a way to find out total contents of QT_CONFIG, CONFIG qmake variables? Are they arrays? Can I somehow print their contents? I know how to test, if config contains something, for example: contains(QT_CONFIG, system-zlib) : message(system-zlib) But how to print ALL CONTENTS of

Re: [Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 14:55, Sergey wrote: List of non-found by linker functions became less after linking with zlib. But these functions are still not found: _CFDataGetBytePtr _CFDataGetLength _CFDataGetTypeID _CFGetTypeID ___CFConstantStringClassReference _FrontWindow _GetCurrentProcess

Re: [Interest] explore contents of built in qmake variables

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 15:25, Sergey wrote: is there a way to find out total contents of QT_CONFIG, CONFIG qmake variables? Yes... Are they arrays? Yes... Can I somehow print their contents? Yes. I know how to test, if config contains something, for example: contains(QT_CONFIG, system-zlib) :

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread VStevenP
- Original Message - From: Lincoln Ramsay a1291...@gmail.com To: interest@qt-project.org Cc: Sent: Tuesday, November 27, 2012 11:37 PM Subject: Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac On 28/11/12 11:29, VStevenP wrote: Thanks for your thoughts...it's

[Interest] Qt 5 translations infrastructure ready string freeze

2012-11-27 Thread Tanilkan Sinan
Hi, _Translation infrastructure_ The translation infrastructure is ready for Qt 5 (http://blog.qt.digia.com/blog/2012/11/28/translation-infrastructure-ready-qt-5-0-0-string-freeze/). We hope to see your translations moving in. _Qt 5.0.0 string freeze_ Qt 5.0.0 string freeze has been proposed

Re: [Interest] qmlscene not generated by Qt5 Beta2 cross-compile

2012-11-27 Thread VStevenP
From: VStevenP vstevenpa...@yahoo.com To: interest interest@qt-project.org Sent: Monday, November 26, 2012 12:18 PM Subject: [Interest] qmlscene not generated by Qt5 Beta2 cross-compile I notice that qmlscene is not present in the output bin directory generated by the Qt5 Beta2 cross-compile