Have a look also to this : http://qt-project.org/doc/qt-4.8/quuid.html
Etienne
2014-02-15 7:58 GMT+01:00 Jonathan Greig :
> Igor,
> You might want to look at QCryptographicHash and then truncate or
> concatenate to N chars. Either that or QDateTime using the epoch. Your
> solution depends on ho
Igor,
You might want to look at QCryptographicHash and then truncate or
concatenate to N chars. Either that or QDateTime using the epoch. Your
solution depends on how you are defining unique. Either way should be
fairly simple.
On Sat, Feb 15, 2014 at 1:49 AM, wrote:
> Hi.
>
> Does Qt have so
Hi.
Does Qt have something for generating unique string of N chars?
Or maybe does somebody know simple way to do it?
Thanks.___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
In a last ditch effort, I got this to work.
I needed to change my m_dests to m_videoSurfaces, then set the source of the
dest to this. I only figured this out by reviewing the VideoOutput source code.
I had seen a statement about providing a writable mediaObject or videoSurface
property, which
One possible way would be to connect the rowsRemoved signal for the model to a
slot that calls model.select() or some other function that resets the model and
updates the view.
Karl
On Feb 14, 2014, at 3:59 PM,
wrote:
> Hi.
>
> How to correctly remove row from QSqlTableModel?
>
> I’ve u
Hi.
How to correctly remove row from QSqlTableModel?
I’ve used removeRow() and removeRows() but they are half-worked. They remove
row from the database table and in the view I see that data is gone, but empty
row in the view is still displayed...___
I
Recap: I am setting up a QML element to intercept frames from a VideoSource
going to a VideoOutput. It looks like:
{VideoSource}-frames-> {MySurfaceImplementation}-frames->{VideoOutput}
Thanks to all the people here, I got the first part of it working. Now I'm
confused on the last half.
MySurf
I think the Qt libraries in Ubuntu's repositories haven't been updated and
probably won't be until the next Ubuntu version.
That was the reason why I used the installer from Qt's website instead. It
has its own updater and you can stay up-to-date.
---
Yours sincerely,
George Tasopoulos
On 14 Feb 2
Em sex 14 fev 2014, às 10:14:00, Alan Ezust escreveu:
> I wanted to update from Qt 5.2.0 to Qt 5.2.1 on Linux.
>
> I ran MaintenanceTool and it spent about 3 minutes contacting the server
> before it told me it had to update
> itself. Then it did, it restarted, spent another 3 minutes looking for
I still see the problem with the latest version of QtCreator 3.0.1, (file
system browser and file-open dialog) and I upgraded all my KDE ubuntu
packages too.
On Fri, Feb 14, 2014 at 9:29 AM, George Tasopoulos <
tasopoulos.yorg...@gmail.com> wrote:
> When I first downloaded Qt5 that was the case
I wanted to update from Qt 5.2.0 to Qt 5.2.1 on Linux.
I ran MaintenanceTool and it spent about 3 minutes contacting the server
before it told me it had to update
itself. Then it did, it restarted, spent another 3 minutes looking for
updates, and the told me I had one for QtCreator. But no update
When I first downloaded Qt5 that was the case with me too. But I found a
bug report about it and since a certain version (I don't remember which) it
seems to have been fixed, as it follows my KDE settings. Make sure you have
the latest version.
--
Yours sincerely,
George Tasopoulos
On 14 Februar
Hello,
i use QAxWidget/QAxObject to automate a mailmerge process.
The Mailmerge works well, but at end i find three Winword.exe processes in the
task manager left over.
A subsequent run adds 3 additional Winword processes and so on. At the end i
get an interval error dialog box from Winword.
T
Em sex 14 fev 2014, às 12:32:28, Rutledge Shawn escreveu:
> If it works, then the next question is, can we change Qt so that xcb is
> completely optional at runtime, even if it exists and configure has found
> it, if you are using the wayland plugin; while at the same time the same Qt
> library wil
Em sex 14 fev 2014, às 08:53:48, Alan Ezust escreveu:
> I assume KDE4 can't pick up styles from Qt5, but is there some way to get
> Qt5 apps to respect these style options in KDE4?
Weird, I'm getting single click behaviour here. I thought that we were looking
up the KDE 4 settings.
Still, the ri
Em sex 14 fev 2014, às 10:50:38, Graham Labdon escreveu:
> Hi
> In my application I have a class name as a string
> This is the name of a class derived from QObject.
> Now what I would like to do is the get metaObject for this class from the
> string
>
> Is this at all possible?
Yes, sure.
Just
In the KDE3 days, whenever my source-built (or binary downloaded) versions
of Qt4 behaved differently than the debian builds with respect to my KDE
preferences for mouse-click-open files and folders behaviour, I could fix
it by running "qtconfig" and changing it from single to a double-click
(which
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.
Thanks,
--
Stephen Ke
>
> QMetaType::metaObjectForType is not documented.
>
> http://qt-project.org/doc/qt-5/qmetatype.html#metaObjectForType
It was introduced in Qt 5.0.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On Friday, February 14, 2014 09:21:20 Keith Gardner wrote:
> class Foo : public QObject
> {
> ...
> };
> Q_DECLARE_METATYPE(Foo*)
This is not needed.
>
> const char *string = "Foo";
> const QMetaObject* metaObject =
> QMetaType::metaObjectForType(QMetaType::type(string));
>
> I haven't tri
Ok Thanks
From: Keith Gardner [mailto:kreios4...@gmail.com]
Sent: 14 February 2014 15:21
To: Jason H
Cc: Graham Labdon; interest@qt-project.org
Subject: Re: [Interest] metaObject from class name
If you register the class with QMetaType with Q_DECLARE_METATYPE(Class*), you
can then call QMetaType
If you register the class with QMetaType with Q_DECLARE_METATYPE(Class*),
you can then call QMetaType::type("Class"). With the returned int, you can
then call QMetaType::metaObjectForType(integer). I think this is what you
are looking for.
class Foo : public QObject
{
...
};
Q_DECLARE_METATY
I'm not 10% udnerstanding your intentions, but this might help. You can create
any QObject through QMetaObject by the class name, then get the meta object for
the created object. Look at QMetaObject::newInstance(..)
You need a "class factory" design pattern.
Here is an example:
http://www.ics.c
> -Original Message-
> From: interest-bounces+kai.koehne=digia@qt-project.org
> files =\
>foo.cpp \
>foo.h \
>bar.cpp \
>bar.h
>
> for(file, files) {
>contains(file, '.*.h') {
> message(header = $$file)
> HEADERS *= $$file
>}
>contains(file, '.*.
Changing the subject of an email is /not/ enough when replying to an email in a
/different/ thread: emails do have "message IDs" which are not only evaluated
by the NSA, but also by every decent email client on this planet which supports
"threaded views".
So I took the liberty to "re-hijack" y
On 02/14/2014 01:11 PM, igor.mironc...@gmail.com wrote:
> I’m trying to insert new record to the table with:
> QSqlRecord r;
> r.setValue( 0, 0 );
> r.setValue( 1, QString() );
> r.setValue( 2, QString() );
> r.setValue( 3, QString() );
> if( !d->model->insertRecord( -1, r ) )
>
On 14 Feb 2014, at 11:12 AM, Jean-Michaël CELERIER wrote:
> I tried to compile it, however I get numerous errors related to Wayland and
> Wayland functions that seem to have changed.
>
> For instance : wl_display_add_object which looks like it has disappeared some
> time ago : https://gitoriou
On Fri, Feb 14, 2014 at 4:20 PM, Graham Labdon <
graham.lab...@avalonsciences.com> wrote:
>
> Hi
> In my application I have a class name as a string
> This is the name of a class derived from QObject.
> Now what I would like to do is the get metaObject for this class from the
> string
>
> Is this
I’ve found the problem... The problem solved with:
QSqlRecord r = d->model->record();
From: igor.mironc...@gmail.com
Sent: Friday, February 14, 2014 2:07 PM
To: interest@qt-project.org
Subject: QSqlTableModel couldn't insert new record.
Hi.
I have the next SQLite table:
QSqlQuery table( QLat
Hi.
I have the next SQLite table:
QSqlQuery table( QLatin1String( "CREATE TABLE IF NOT EXISTS contacts ( "
"marked INTEGER, contact TEXT, ""type TEXT, comment
TEXT )" ) );
And the next QSqlTableModel:
model = new QSqlTableModel( w, db );model->setTable( QLatin1Str
Hi
In my application I have a class name as a string
This is the name of a class derived from QObject.
Now what I would like to do is the get metaObject for this class from the string
Is this at all possible?
Many thanks
___
Interest mailing list
Inte
I tried to compile it, however I get numerous errors related to Wayland and
Wayland functions that seem to have changed.
For instance : wl_display_add_object which looks like it has disappeared
some time ago : https://gitorious.org/weston/wayland/commit/3ac8757
This is quite sad, I would really h
Hi,
The SDK version is available via:
QtAndroid::androidSdkVersion()
see qtandroidextras/src/androidextras/android/qandroidfunctions.h
There might be a tiny bit more information hidden in private headers but they
come along with the usual "use at your own risk we may change it" statement.
-
33 matches
Mail list logo