[Interest] QuickFrameBufferObject does not redraw

2015-09-16 Thread Wehmer, Matthias
Hi everybody, I am currently experimenting with the QFrameBufferObject and try to draw via raw OpenGL calls. The relevant part of the render function in the QuickFrameBuffrObject::Renderer looks like this: void Drawer::render() { int width = 1.0f; int height = 1.0f;

Re: [Interest] QuickFrameBufferObject does not redraw

2015-09-16 Thread Agocs Laszlo
Hi, You most likely have some state set that affects your custom rendering. For example you will probably have a program active which is not ideal in your case. Try adding a glUseProgram(0). See the slightly enhanced 5.5 docs at

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread Rainer Wiesenfarth
Am 16.09.2015 um 11:19 schrieb René J.V. Bertin: [...] 1st command fails and the 2nd succeeds: 1%> [...] g++ [...] -L/opt/local/build/qtbase/lib -lQt5Sql -lQt5Core.so [...] .obj/qsql_sqlite.o: In function `qMakeError': [...] undefined reference to `QSqlError::QSqlError [...] 2%> [...] g++

[Interest] link error (and probably a dumb question)

2015-09-16 Thread René J . V . Bertin
Hi, I hate to ask, but I can't seem to understand while building Qt 5.5.0 on linux why the 1st command fails and the 2nd succeeds: 1%> (cd /opt/local/build/qtbase/src/plugins/sqldrivers/sqlite ; g++ -v -L/opt/local/lib -O3 -march=native -fpermissive -g -Wl,--no-undefined

Re: [Interest] QByteArray to quint64

2015-09-16 Thread Giuseppe D'Angelo
Il 16/09/2015 12:28, Tom Isaacson ha scritto: If I want to convert a QByteArray to quint32 I can use: quint32 result = QByteArray("1234").toUInt(); But what if I want to convert a longer array to quint64? Writing cross-platform code requires a mix of _strtoi64() and strtoull(). Is there a

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread René J . V . Bertin
Rainer Wiesenfarth wrote: > I _think_ that the first command resolves references strictly ordered > (Q55Sql first, then Qt5Core) while the second resolves them in common. > > In this case, using > >... -lQt5Sql -lQt5Core -lQt5Sql ... > > should solve the issue. I started trying that, but

[Interest] QtCanvas3D + three.js + OBJMTL

2015-09-16 Thread privet56 hotmail . com
Hi, QtCanvas3D is cool, the demos are fine in Qt 5.5! However, looking at the code, I miss some features regarding three.js-support: 1) is QtCanvas3D supporting only ThreeJSLoader, or could I also use OBJLoader+MTLLoader (=OBJMTLLoader)? Are demos available for this use case? 2) the

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread Andreas Pakulat
Hi, On Wed, Sep 16, 2015 at 12:46 PM, René J. V. wrote: > Rainer Wiesenfarth wrote: > > > I _think_ that the first command resolves references strictly ordered > > (Q55Sql first, then Qt5Core) while the second resolves them in common. > > > > In this case, using > > > >

[Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Nuno Santos
Hi. I’m developing a plugin to be loaded by a music software host (VST). There are some lighter alternatives to provide graphics, network and other kinds of useful resources but I want to use Qt. I simply Love Qt! When the plugin is open by the host, it provides a window ref to the plugin. On

Re: [Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Sze Howe Koh
Hi, On 16 September 2015 at 21:36, Nuno Santos wrote: > Hi. > > I’m developing a plugin to be loaded by a music software host (VST). There > are some lighter alternatives to provide graphics, network and other kinds > of useful resources but I want to use Qt. I simply

[Interest] Qml javascript super keyword

2015-09-16 Thread Jérôme Godbout
Hi, anybody know if there's a way to have the *super* keyword (ES6 specification) equivalent into a qml script? I have seen the signal workaround (see link below), but sadly this does not get reevaluated like functions parameters, it only get called once which is not correct with what I want to

[Interest] Why das rcc -list my.qrc appen CRCRLF ?

2015-09-16 Thread Gunnar Roth
Hi, Why das rcc -list my.qrc append CRCRLF to line end?   I have cmake code ( from QtCompanies quickcompiler ) which does a \n to ; replace to convert a string to a cmake list   and iterates over the elements. That did not work because the guy who wrote that is not aware of windows. I tried

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread Thiago Macieira
On Wednesday 16 September 2015 11:19:23 René J.V. Bertin wrote: > .obj/qsql_sqlite.o: In function `QString::toLower() const &': > /opt/local/src/qt-everywhere-opensource-src-5.5.0/qtbase/include/QtCore/../. > ./src/corelib/tools/qstring.h:389: undefined reference to >

Re: [Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Nuno Santos
Hi Konstantin, Yes! I have been told before. I think the solution for that particular case is to namespace the build. Haven’t tried yet. I want to sort this problems first. Thanks for warning me. Regards, Nuno > On 16 Sep 2015, at 19:01, Konstantin Tokarev wrote: > > I

Re: [Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Nuno Santos
Hi, After spending the whole day around Carbon and HIToolbox I’m now sure that the WindowRef provided is a for a Carbon window. However I’m not been able to add a single colored NSView to the windows provided by the host. This what I have been trying to do. Is there anyone with experience in

Re: [Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Konstantin Tokarev
16.09.2015, 16:37, "Nuno Santos" : > Hi. > > I’m developing a plugin to be loaded by a music software host (VST). There > are some lighter alternatives to provide graphics, network and other kinds of > useful resources but I want to use Qt. I simply Love Qt! I cannot

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread René J . V . Bertin
Thiago Macieira wrote: > This means your -lQt5Core found an older (< 5.4) version of QtCore. Yes, and the question is where the -L/usr/lib/x86_64-linux-gnu argument is added to the LDFLAGS, or rather, how I can prevent that from happening ... Probably not a trivial step as it clearly doesn't

Re: [Interest] Using Qt as backend for plugin to be loaded on a host software

2015-09-16 Thread Nuno Santos
Sze, That’s awesome news! :) I’m still struggling making the QQuickView being displayed on the window given by the host. In my case I really need to draw the Qt content on the window provided by the host, otherwise the behaviour is awkward. I will let you know when I have this working. Nuno

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread Thiago Macieira
On Wednesday 16 September 2015 21:51:20 René J. V. Bertin wrote: > Thiago Macieira wrote: > > This means your -lQt5Core found an older (< 5.4) version of QtCore. > > Yes, and the question is where the -L/usr/lib/x86_64-linux-gnu argument is > added to the LDFLAGS, or rather, how I can prevent

[Interest] Bug in QPlainTextEdit::find

2015-09-16 Thread Scott Aron Bloom
Currently, if you set the flags to QTextDocument::FindWholeWords The system ONLY checks for a boundary of isNumberOrLetter, which is NOT the same as a whole word. For instance, if you are searching for the whole word "state" and the text is "current_state" is should NOT match, however it does,