On 06/09/16 21:20, Thompson, Adam B. wrote:
My question: can anyone provide some tips on how to properly subclass
QAbstractProxyModel so I can provide some custom depth-first filtering
capabilities? (Sorting isn’t really necessary at the moment, really
just filtering.)
There is a patch here w
Ola Røer Thorsen wrote:
> My worry here is that deleteLater() is sometimes still too soon for the
> QML engine to keep up, especially when there is a lot of things going on
> in the Quick scene.
Or if there is an animation for item removal.
> Could this be the case? If so, what is the rock-solid
Matthew Woehlke wrote:
> On 2016-02-09 22:43, Konstantin Podsvirov wrote:
>> And the Qt project provides great support CMake, how to use the frame
>> (export modules), and support Qt Creator IDE.
>
> Yes, Qt is practically a poster child for what projects *ought* to be
> doing to make themselves
Thiago Macieira wrote:
> On terça-feira, 9 de fevereiro de 2016 22:20:23 PST Diego Iastrubni wrote:
>> While I agree... this still does not help me with a 3rd party code, which
>> has a CMakeFiles.txt inside.
>>
>> How can I tell me CMakeFiles.txt - "see this subdir? now do include it,
>> and mak
Bo Thorsen wrote:
> To me QStandardItemModel is a quick hack I sometimes use when I just
> want to show a bit on the screen. But those temporary things have a
> tendency to stick around, and at some point I always end up rewriting
> the stuff with the real thing.
Me too. I only ever use QSIM in te
Thiago Macieira wrote:
> QtCore will perform a cleanup on its own unload to try and clean up
> valgrind errors. Make sure you're running 5.2.0 or later for that.
The above valgrind report was from recent qtbase dev branch.
Are the remaining reports a bug in Qt, then?
Thanks,
Steve.
Hello,
Here is a simple plugin interface:
#ifndef PluginIFace_H
#define PluginIFace_H
#include
class PluginIFace
{
public:
virtual ~PluginIFace() {}
// Caller takes ownership of the returned QObject*
virtual QObject* getObject() = 0;
};
Q_DE
to do this for tests.
Thanks,
--
Join us at Qt Developer Days 2014 in Berlin! - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB -
ty.
>
If you use CMake and AUTOMOC, the 'loose' moc files will be included in a
single file and compiled together (one per target).
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden
ring there, you run the risk of typos. The string is not needed
and should not be used (even with Qt 4 code).
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Exper
ATYPE(Widget)
Remove this line.
>
> Class.cpp
> const int WidgetTypeID = qRegisterMetaType("Widget");
Register the pointer. Don't specify the string:
qRegisterMetaType();
Most likely you should move this from global scope to your usage section.
>
> Usage
>
On Friday, February 14, 2014 10:02:29 you wrote:
> > QMetaType::metaObjectForType is not documented.
> >
>
> http://qt-project.org/doc/qt-5/qmetatype.html#metaObjectForType
Ok then, it is documented :). My grep was wrong.
> It was introduced in Qt 5.0.
Yes. I wrote it.
taType::type(string));
>
> I haven't tried compiling this but I believe this is how it will work based
> off of the docs for QMetaType.
QMetaType::metaObjectForType is not documented.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Com
Constantin Makshin wrote:
> I wonder why such useful feature is left undocumented...
I don't know, but as with anything undocumented, handle with care.
http://thread.gmane.org/gmane.comp.lib.qt.user/10485/focus=10540
Thanks,
Steve.
___
Interest ma
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
stuff.
Thanks,
--
Join us in November at Qt Developer Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independ
On Monday, October 07, 2013 09:55:53 Sandro Andrade wrote:
> On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly
wrote:
> > On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
> >> Q_PROPERTY(Hull * hull READ hull)
> >> Q_PROPERTY(Reactor * reactor READ react
eveloper Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
signature.asc
Descriptio
//codereview.qt-project.org/#change,42703
Before that, your Q_PROPERTY needs to be type QObject*.
Thanks,
--
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germa
nstead of a QScopedPointer?
See http://sscce.org/
A patch like this would fix the issue:
https://codereview.qt-project.org/#change,66053
Thanks,
--
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG,
eparately.
Thanks,
--
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Indepe
view.qt-project.org/#change,65444
https://codereview.qt-project.org/#change,65437
Thanks,
--
Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-
Joseph W. Joshua wrote:
> Hi all,
>
> When using cmake, how can one detect whether the Qt version in use is
> greater that Qt4? In qmake, for example, I can determine whether the Qt
> version is greater than Qt4 by using :
>
> greaterThan(QT_MAJOR_VERSION, 4)xxx
>
> Anyone know how to do this i
)
QVariant(QUmlObject*, QUmlObject(0xa11190, name = "o2") )
QVariant(QList)
: TypeError: Object [object Object] has no method 'length'
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-5213
perty is an automatically
defined container (such as a QList). The reviewers so far
seem to think it relates to qmlRegisterType, which it doesn't.
When the v4 engine is merged to master I'll revisit this.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co
, or (better-yet) had coded it already. ;-))
I've done it with QtDBus before. See this though:
https://bugreports.qt-project.org/browse/QTBUG-15052
It's probably still not fixed in Qt 5. (but maybe I should fix it there soon)
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutsc
easonable levels of abstraction, and it
> seems pretty much alive in the backend. I see no particular reason why
> this could't be extended to the frontend again in 2013. (Happy New
> Year, by the way...)
>
> Andre'
>
> I am speaking purely for myself.
I fully agr
On Wednesday, January 02, 2013 18:12:51 Jan Kundrát wrote:
> On Wednesday, 2 January 2013 17:42:53 CEST, Stephen Kelly wrote:
> > The fix is probably to include qsslsocket.h in the translation
> > unit where you
> > have that line.
> >
> > Of course i
.h.
Also you should just use
qRegisterMetaType >()
without the string.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software S
s("${CMAKE_CURRENT_SOURCE_DIR}/include" ${QT_INCLUDES})
add_library(lll src/klass.cpp)
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Pl
On Thursday, October 04, 2012 18:24:08 Christian Kandeler wrote:
> On 10/04/12 18:09, Stephen Kelly wrote:
> > On Thursday, October 04, 2012 16:38:42 Jan Kundrát wrote:
> >> I have always assumed that the users of the model are more or less free
> >> to call a &qu
my proxies build internal data
> structures which contain pointers to data in the source model; at the
> time the source model gets missing, I really shouldn't be accessing
> these anymore.
Indeed. If you clear those and call endResetModel, it might work. It depends
on whether any code
On Thursday, September 13, 2012 13:56:33 Till Oliver Knoll wrote:
> Am 13.09.2012 um 10:19 schrieb Stephen Kelly :
> > ...
> > flag -Wl,--no-undefined you won't get the error when you build a static
> > library, but only when you link the target that uses that stat
On Thursday, September 13, 2012 10:26:03 Thiago Macieira wrote:
> On quinta-feira, 13 de setembro de 2012 10.19.34, Stephen Kelly wrote:
> > > And if I would
> > > forget to say QT += widgets in "model.pro", I'd simply get a linker
> > > error.
>
ght happen 30 minutes after the point where I get a compile failure. You've
just wasted all that time (and now you get to spend time tracking down the
root cause - I've already fixed it).
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group
e
, your compiler will not find that header and you will immediately
know you made a mistake.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Plat
t
> not available in Qt4.
>
> For example, if I want to use QTestEventList::simulate(...):
>
> Qt4:
> #include
>
> Qt5:
> #include
#include works just fine in Qt 5. It includes the same stuff as
if QT_WIDGETS_LIB is set, which it is if you use QT +=
widgets.
ators.
>
> Note that if you just do:
>
>#include
>
> then you can build with both Qt4 and Qt5.
If you do this, you also avoid mysterious linking errors resulting from
#include without QT += widgets.
That's why 'module includes' are a bad idea.
Thanks,
Mac. In the mean-time, maybe I can provide archives of what should
be there on those platforms for people to extract into their beta-1
installation. Good idea/worth my time?
>
> (Or are they just missing in the Beta release?)
>
> > See the release note.
http://qt-project.org/wiki/
spect that any effort on completing a cmake buildsystem for
creator is not time well spent.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Ind
I'm interested in this, if you can make a testcase.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
sig
n 32 bit and 64 bit.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
signature.asc
Description: This is
hive? KArchive is standalone already. Having a
Calligra libs that depends on qt-only is not really an improvement over a
Calligra libs that depends on Qt and KArchive. It is worse if you count the
porting bugs and porting 'compromises'.
Having an ODF library with a stable, binary compatib
one
does not exist already.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
signature.asc
Description: This i
mented (and stable).
I agree. Like all changes, the impact on users of Qt needs to be evaluated.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platfo
Thiago Macieira wrote:
> On quarta-feira, 25 de julho de 2012 12.57.17, Miller, Doug wrote:
>> In the Qt5 alpha and latest beta candidate version qdbusxml2cpp is
>> broken. It does not generate the DBus introspection string that goes into
>> the adaptor header file.
>>
>> In the header file the Q
e relevant bug reports:
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/4225/focus=4226
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Expert
Jason H wrote:
> You should post to the interest, not Creator list. This is for the creator
> application only.
This is qt-interest.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On Wednesday, May 09, 2012 08:50:38 Andreas Pakulat wrote:
> Unless you did so already, I'd connect a dummy-object to all the signals a
> model can emit to verify
> which are being emitted while you add your rows.
Or use modeltest, which is in the qt git repo.
--
Stephen Kel
ew and real qwidget dialog box or is it a bug ?
Can you supply a testcase please?
I refactored this code quite a lot in Qt 5.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-5
Stephen Kelly wrote:
> BRM wrote:
>
>> As pointed out, the main reason Qt Commercial customers buys the
>> commercial license is to not to have to worry about some of the LGPL
>> requirements - namely the ability to static link. Where I presently work
>> has a comm
Till Oliver Knoll wrote:
>
> Am 21.04.2012 um 13:04 schrieb Till Oliver Knoll
> :
>
>>> I assume KDE does not provide a way for applications to query those
>>> settings,
>>
>> Without any concrete knowledge of the KDE API: I can't imagine that
>> there's /no/ such public API which would expose
BRM wrote:
> As pointed out, the main reason Qt Commercial customers buys the
> commercial license is to not to have to worry about some of the LGPL
> requirements - namely the ability to static link. Where I presently work
> has a commercial license. We static link a lot of things. Could we
> dyn
Nikos Chantziaras wrote:
> On 10/04/12 17:32, Thiago Macieira wrote:
>> On terça-feira, 10 de abril de 2012 17.17.09, Nikos Chantziaras wrote:
>>> On 10/04/12 15:54, Thiago Macieira wrote:
On terça-feira, 10 de abril de 2012 12.00.18, Igor Mironchik wrote:
> Here is very simple command li
On Wednesday, March 21, 2012 01:34:57 Stephen Kelly wrote:
> I pushed a fix for review to Qt5 and will backport to Qt 4.8:
> http://codereview.qt-project.org/#change,20720
The problem with the patch I wrote is that the user might sort any of the
columns, not just the first, so the ve
found a bug.
I pushed a fix for review to Qt5 and will backport to Qt 4.8:
http://codereview.qt-project.org/#change,20720
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-5
t; Qt::RightButton) as a constant. You can only use constant values in a
> switch statement.
Note that this works in Qt5 with a compiler which supports the C++11 constexpr
keyword.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.
Nikos Chantziaras wrote:
> On 28/02/12 00:55, Stephen Kelly wrote:
>> Andreas Pakulat wrote:
>>
>>>> I tried using GMane to post here. But it doesn't work. The mail
>>>> never arrives here.
>>>
>>> Thats something to take up with
Andreas Pakulat wrote:
>> I tried using GMane to post here. But it doesn't work. The mail
>> never arrives here.
>
> Thats something to take up with the gmane admins, nothing anybody here
> on the list can do much about I think.
Although I can confirm that it works for me.
Server: news.gmane.
t's broken. The
CMAKE_AUTOMOC feature is a not-completely-source-compatible replacement.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Expert
eator bug here which should
be fixed. (not by me - I don't work on creator)
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Indepen
n the error below.
https://bugreports.qt-project.org/browse/QTWEBSITE-404
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutio
On Thursday, February 09, 2012 15:13:42 Yi Ding wrote:
> Yep. Mingw is public domain though, so that part is easy.
I don't know where you got that idea, but it is not correct.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
ive to this function is to
> either use QGraphicsItemAnimation..." It's a bit misleading to recommend
> a deprecated feature as an alternative. Is this something that should be
> corrected?
Yes, please file a bug.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschl
ning it and assure everyone
else that you will keep it working.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Sof
ect of mine and transitioning to
> QtWebKit just for the SVG may cause excessive bloat.
You don't need Thiago.
You just need to create a gerrit account and start maintaining the code.
Thanks,
--
Stephen Kelly | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
On Friday, January 06, 2012 17:12:21 Thiago Macieira wrote:
> Documentation usually comes after the code starts to stabilise.
That's an interesting theory.
I always thought documentation usually comes before the code is released :).
Thanks,
--
Stephen Kelly | Software Engin
67 matches
Mail list logo