Em sex 27 jun 2014, às 02:41:05, 程梁 escreveu:
> In the documents I read about Connecting to QML Signals. Connect QML signals
> to C++ slot still using old syntax. Is it possible to connect QML signals
> to C++ slot using new syntax? The problem is QML item type is dynamic so
> cannot get its signal
In the documents I read about Connecting to QML Signals. Connect QML signals to
C++ slot still using old syntax. Is it possible to connect QML signals to C++
slot using new syntax? The problem is QML item type is dynamic so cannot get
its signals pointers.
Thank you.
Best regards,
Cheng Liang
N
Em qui 26 jun 2014, às 19:50:28, Rogers Nate escreveu:
> Works great, thanks Thiago!!
>
> On 06/26/2014 12:11 PM, Thiago Macieira wrote:
> > Em qui 26 jun 2014, às 08:45:34, Thiago Macieira escreveu:
> >> Em qui 26 jun 2014, às 14:29:15, Rogers Nate escreveu:
> >>> I built it as a debug build.
> >
Hello Sir,Ma'am,
I have a Qt project of a rotating cube using shaders. I want to add the
light effect to it.
How do I combine the two shader files into one mainWindow?
also these fragment and vertex files are in .frag and .vs while, the one
which I have are in .glsl (both). Is it a problem?
Atta
Works great, thanks Thiago!!
On 06/26/2014 12:11 PM, Thiago Macieira wrote:
> Em qui 26 jun 2014, às 08:45:34, Thiago Macieira escreveu:
>> Em qui 26 jun 2014, às 14:29:15, Rogers Nate escreveu:
>>> I built it as a debug build.
>> You need one extra flag:
>>
>> QMAKE_LFLAGS_APP += -Wl,-rdynamic
>
Very good blog. Thanks for the link.
-Original Message-
From: an...@familiesomers.nl
Sent: Thursday, June 26, 2014 9:17 PM
To: interest@qt-project.org
Subject: Re: [Interest] QObject::connect
igor.mironc...@gmail.com schreef op 26.06.2014 22:05:
> I'm sorry. But what blog posts are you t
igor.mironc...@gmail.com schreef op 26.06.2014 22:05:
> I'm sorry. But what blog posts are you talking about?
The blog you find here: http://woboq.com/blog/
André
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/lis
I'm sorry. But what blog posts are you talking about?
-Original Message-
From: Guido Seifert
Sent: Thursday, June 26, 2014 8:37 PM
To: interest@qt-project.org
Subject: Re: [Interest] QObject::connect
Ah, that's why he wrote so many blog posts about the new syntax. Helped me
quite a lot
Hi,
since there was no reply yet, I've uploaded the example to bitbucket.
A simple git import from qtcreator with following URL should make it very
simple to test it:
Clone URL:
https://railwayco...@bitbucket.org/railwaycoder/qml_cpp_signal_slots.git
Please try with Qt5.2 and Qt5.3. If you get t
Ah, that's why he wrote so many blog posts about the new syntax. Helped me
quite a lot
to get started. Nevertheless: Good job, both of you. I really like the new
syntax. :-)
Guido
On Thu, 26 Jun 2014 11:00:59 -0700
Thiago Macieira wrote:
> Olivier polished the feature and pushed it for Qt 5.
Em qui 26 jun 2014, às 20:04:11, igor.mironc...@gmail.com escreveu:
> Thanks guys for your answers. I found what I was seeking.
>
> And what about parentheses and QMetaMethod that I wanted to concretize what
> I mean under new syntax of connection.
>
> As new connect method is:
>
> QMetaObject:
Em qui 26 jun 2014, às 19:11:31, Guido Seifert escreveu:
> Wow, this question is already more than a year old. I wasn't aware that this
> new connection syntax is already that old. So it was about time that I
> started to use it, and even updated some old code to use it. :-)
I wrote the initial p
On Jun 25, 2014, at 11:03 PM, Rutledge Shawn wrote:
Thanks Shawn.
> That sounds like a bug.
Perhaps I will build a sample application and file a bug.
> What do you mean about the modal state, the window is active but you can’t
> interact with anything in it? Or it’s not active?
The dialo
Wow, this question is already more than a year old. I wasn't aware that this
new connection syntax is already that old. So it was about time that I started
to use it, and even updated some old code to use it. :-)
Guido
André Somers wrote:
> igor.mironc...@gmail.com schreef op 26-6-2014 18:43:
Thanks guys for your answers. I found what I was seeking.
And what about parentheses and QMetaMethod that I wanted to concretize what
I mean under new syntax of connection.
As new connect method is:
QMetaObject::Connection QObject::connect(const QObject * sender, const
QMetaMethod & signal, co
Em qui 26 jun 2014, às 08:45:34, Thiago Macieira escreveu:
> Em qui 26 jun 2014, às 14:29:15, Rogers Nate escreveu:
> > I built it as a debug build.
>
> You need one extra flag:
>
> QMAKE_LFLAGS_APP += -Wl,-rdynamic
Sorry, without the -Wl,. This is a GCC flag:
QMAKE_LFLAGS_APP += -rdynamic
--
Em qui 26 jun 2014, às 18:43:54, igor.mironc...@gmail.com escreveu:
> Hi guys,
>
> I have one simple question:
>
> Is it possible to make connection with new syntax (using QMetaMethod) if
> object has two or more signals with the same name but with different
> argument’s type?
If I ignore the pa
igor.mironc...@gmail.com schreef op 26-6-2014 18:43:
Hi guys,
I have one simple question:
Is it possible to make connection with new syntax (using QMetaMethod)
if object has two or more signals with the same name but with
different argument's type?
For example, QComboBox::currentIndexChanged...
Em qui 26 jun 2014, às 14:29:15, Rogers Nate escreveu:
> I built it as a debug build.
>
You need one extra flag:
QMAKE_LFLAGS_APP += -Wl,-rdynamic
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
___
Hi guys,
I have one simple question:
Is it possible to make connection with new syntax (using QMetaMethod) if object
has two or more signals with the same name but with different argument’s type?
For example, QComboBox::currentIndexChanged... There are two signals with int
and QString...
Or f
I built it as a debug build.
Nate
On 06/26/2014 10:17 AM, Sandeep wrote:
>>> Is there a way to get what I want (ie. QTimer calling
> processFiveWayButton() and that function calling upButtonClicked())?
> Thanks!
>
> I guess you might be using a RELEASE build, and usually RELEASE builds would
>
I am trying to capture some debug information to eventually add to a log in my
application but my stacktrace doesn't contain the actual names of the functions
that are being call (at least that I can see). How can I get a stack trace
that is more meaningful or easier to read?
main.cpp
I get it. Thank you.
-Original Message-
From: Gunnar Sletta [mailto:gunnar.sle...@jolla.com]
Sent: Thursday, June 26, 2014 6:20 PM
To: Nancy Zou
Cc: Gunnar Sletta; Interest@qt-project.org
Subject: Re: [Interest] qml performance with Qt5.2
On 26 Jun 2014, at 11:36, Nancy Zou wrote:
> D
On 26 Jun 2014, at 11:36, Nancy Zou wrote:
> Dear Gunnar & other friends:
>
> About atlas texture:
> I print the atlas size in my system, QSG: texture atlas dimensions: 1024 x
> 1024
> I use qml image item to load a jpeg image with size of 640*640, but I find
> it isn't the atlas texture.
On Wednesday 25 Jun 2014 13:27:23 Amey Patil wrote:
> Thank you sir for your instant reply..
> No, my openGL version is 2.1, I don't understand, I have nvidia graphics
> card..
> Thanks for pointing out the problem, wat solution will you suggest??
Which card? nVidia card is not magic. They have d
Dear Gunnar & other friends:
About atlas texture:
I print the atlas size in my system, QSG: texture atlas dimensions: 1024 x 1024
I use qml image item to load a jpeg image with size of 640*640, but I find it
isn't the atlas texture.
If a smaller image like 200*200, it can be the atlas textu
- Original Message -
> From: "Wiebe Cazemier"
> To: interest@qt-project.org
> Sent: Wednesday, 25 June, 2014 2:31:49 PM
> Subject: [Interest] QJsonObject::value() - Undefined or Null upon
> non-existing key
>
> Hi,
>
> The docs for QJsonObject::operator[] say [1]:
>
> > The returne
27 matches
Mail list logo