Re: [Interest] Playing MP4 and FLV with QMediaPlayer

2013-09-11 Thread Mandeep Sandhu
> The trick is this, I can put this on several different machines - all are > Windows 7 Pro: > 1.) machine 1 - development box, can play some mp4s but not others (all > h264) > 2.) machine 2 - personal household box, will play the sampleFile mp4 > sometimes > 3.) machine 3 - COMPLETELY clean window

Re: [Interest] [Qt Tests Framework] Custom command line arguments

2013-09-11 Thread Mandeep Sandhu
On Wed, Sep 11, 2013 at 5:55 PM, Denis Shienkov wrote: > Hi all, > > Tell please, is there a way to transfer the user arguments to testlib > application via an command line? > Yes. Have a look at this: http://qt-project.org/doc/qt-4.8/qtestlib-manual.html#qtestlib-command-line-arguments HTH, -

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 21:41:45, Karl Ruetz wrote: > We had no problems with the addon until 5.1.1. Hopefully Digia will figure > out what the deal is soon so I don't have to revert. That said, we do need to make a release of those solutions. I've built them, so I know they work

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Karl Ruetz
One of our most popular products uses FTP. Yes, it's old (in the field since 1998), but still making us money. We added the portion written in Qt in 2004. The fragility has never been an issue for us. We haven't seen the problems. Our product has been stable. We have a commercial license with

Re: [Interest] Why QLabel block mouseReleaseEvent when holds rich text?

2013-09-11 Thread nate . yuan
At 2013-09-11 19:35:27,"william.croc...@analog.com" wrote: >On 09/11/2013 07:08 AM, nate.y...@gmail.com wrote: >> Hi guys, >> >> I have a frameless dialog and implement the title bar by myself. I implement the >> mousePressEvent, mouseReleaseEvent and mouseMoveEvent of the dialog, so users >>

Re: [Interest] Why QLabel block mouseReleaseEvent when holds rich text?

2013-09-11 Thread nate . yuan
At 2013-09-11 22:50:03,"Thiago Macieira" wrote: >On quarta-feira, 11 de setembro de 2013 19:08:35, nate.y...@gmail.com wrote: >> Hi guys, >> >> I have a frameless dialog and implement the title bar by myself. I >> implement the mousePressEvent, mouseReleaseEvent and mouseMoveEvent of

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 10:37:29, Karl Ruetz wrote: > My main complaint remains the removal of QFtp without providing equivalent > replacement features in QNAM. > > Now, under 5.1.1, I have yet to get the QFtp addon to work. > > So it looks like I have to stop using Qt 5 for Andro

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 08:22:19, Jason H wrote: > Yeah, I knew Qt5 was going to take Qt in a direction that was not going to > be a good one. We've got too many projects and not enough people to support > them. Yes, QML is cool but it shouldn't be done at the expense of things > li

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 17:09:18, Guido Seifert wrote: > > All QUdpSocket tests are currently being ignored. They have been ignored > > for the past 2 years. In other words, we have no idea whether QUdpSocket > > has ever worked for Qt 5. > > Wow, this is hardly believable. This ti

Re: [Interest] Why QLabel block mouseReleaseEvent when holds rich text?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 19:08:35, nate.y...@gmail.com wrote: > Hi guys, > > I have a frameless dialog and implement the title bar by myself. I > implement the mousePressEvent, mouseReleaseEvent and mouseMoveEvent of the > dialog, so users can drag the dialog. Every thing w

[Interest] Playing MP4 and FLV with QMediaPlayer

2013-09-11 Thread Jason Kretzer
Good day everyone! background info All machines mentioned below are Win 7 Pro Using Qt 5.0.2 I am trying to do as the title says, I am using the QMediaPlayer and QVideoWidget to try and play video. Here is the code: Qt Code: Switch view //should be noted that mp4 are encoded with h264 QUrl fi

Re: [Interest] Using Qml canvas object (name conflict with Image?)

2013-09-11 Thread Alan Alpert
I wouldn't expect that to happen, but if that is indeed the issue then there is a simple workaround. import QtQuick 2.0 as QQ QQ.Canvas { [] } -- Alan Alpert On Wed, Sep 11, 2013 at 12:42 PM, Chris Meyer wrote: > I'm attempting to use the Canvas object in Qml. See code below. > > When

[Interest] Using Qml canvas object (name conflict with Image?)

2013-09-11 Thread Chris Meyer
I'm attempting to use the Canvas object in Qml. See code below. When I run it using qmlscene, I get an error that says 'TypeError: object is not a function' on the line in the Qml 'var img = new Image()'. I think 'Image' is conflicting with the Qml Image object. If this is what is happening, is t

Re: [Interest] QTextDocument/QTextCursor: inserting, editing blocks

2013-09-11 Thread Vojtěch Král
Ok, great, thanks for the clarification. I've decided to trust that QTextDocument is well optimised ;-) (And having done some rough test I can say it seems it indeed is) Best Regards, Vojtech Kral On 2013-09-11 19:20, Gopalakrishna Bhat wrote: > On Wed, Sep 11, 2013 at 9:43 PM, Vojtěc

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Karl Ruetz
My main complaint remains the removal of QFtp without providing equivalent replacement features in QNAM. Now, under 5.1.1, I have yet to get the QFtp addon to work. So it looks like I have to stop using Qt 5 for Android because I cannot reliably support all my desktop apps. It honestly breaks

Re: [Interest] QTextDocument/QTextCursor: inserting, editing blocks

2013-09-11 Thread Gopalakrishna Bhat
On Wed, Sep 11, 2013 at 9:43 PM, Vojtěch Král wrote: > Hi, > I don't understand how to edit text blocks in QTextDocument using > QTextCursor. > So far I've been inserting text using QTextCursor::insertText() and it > worked fine, > however, I later noticed that each call to QTextCursor::insertTex

Re: [Interest] Construction of QObjects before QApplication or something else brings SEGV

2013-09-11 Thread Etienne Sandré-Chardonnal
About the first problem, that's normal, since the documentation says: "Since the QApplication object does so much initialization, it *must* be created before any other objects related to the user interface are created." QApplication is created in main() in most cases. Then, the GUI is created. The

[Interest] QTextDocument/QTextCursor: inserting, editing blocks

2013-09-11 Thread Vojtěch Král
Hi, I don't understand how to edit text blocks in QTextDocument using QTextCursor. So far I've been inserting text using QTextCursor::insertText() and it worked fine, however, I later noticed that each call to QTextCursor::insertText() creates a new QTextBlock within the document. Is it possibl

Re: [Interest] Qt Browserplugin

2013-09-11 Thread Jason H
This is a can of worms. The new Qt5 stuff is all GL based, and the texture upload would be a significant bottleneck.  For older Qt4 applications, it still was bottlenecked by the library downloads.  On anything other than a local link it was unacceptable. You'd be better to continue my qork of

Re: [Interest] Making an ORM Library

2013-09-11 Thread Jason H
Agreed, but I also wrote my own if you want a no-frills direct-to-sqlite-table one. Oh, I take that back, I do have one frill, which is transaction support. From: Bo Thorsen To: interest@qt-project.org Sent: Friday, September 6, 2013 10:31 AM Subject: Re: [In

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Guido Seifert
Found the bug. And I am an idiot. :-( Guido P.S. Don't ask what it was. Way too embaressing to tell. :-D > > But it seems to be something in my code. I made a minimal example... and this > works. :-/ > > Guido > > On Wed, 11 Sep 2013 08:22:19 -0700 (PDT) > Jason H wrote: > > > Yeah, I kn

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Guido Seifert
> All QUdpSocket tests are currently being ignored. They have been ignored for > the past 2 years. In other words, we have no idea whether QUdpSocket has ever > worked for Qt 5. Wow, this is hardly believable. This time it isn't about multicast. It is the normal send/receive between two QUdpS

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Thiago Macieira
On quarta-feira, 11 de setembro de 2013 14:54:07, Guido Seifert wrote: > Hi, > my QUdpSocket problems got worse. It is so broken that I don't believe that > it's Qt code. But on the other hand, my code is too simple not to work. Hi Guido All QUdpSocket tests are currently being ignored. They have

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread alexander golks
Am Wed, 11 Sep 2013 07:59:51 -0700 schrieb Thiago Macieira : > All QUdpSocket tests are currently being ignored. They have been ignored for > the past 2 years. In other words, we have no idea whether QUdpSocket has ever > worked for Qt 5. remembering a great song - strange enough: "we don't nee

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Jason H
Yeah, I knew Qt5 was going to take Qt in a direction that was not going to be a good one. We've got too many projects and not enough people to support them. Yes, QML is cool but it shouldn't be done at the expense of things like Udp Sockets. Support the existing market.  Adding to that Qt5 bare

Re: [Interest] QUdpSocket broken?

2013-09-11 Thread Guido Seifert
But it seems to be something in my code. I made a minimal example... and this works. :-/ Guido On Wed, 11 Sep 2013 08:22:19 -0700 (PDT) Jason H wrote: > Yeah, I knew Qt5 was going to take Qt in a direction that was not going to be > a good one. We've got too many projects and not enough peop

[Interest] Construction of QObjects before QApplication or something else brings SEGV

2013-09-11 Thread Olivier BARTHELEMY
I am having SEGFAULTS in some code just by making trivial changes that should not influence the behaviour. The code simply creates a QTextEdit in a QDIalog, and segfaults somewhere in child calls of show() on the QDialog Running valgrind, i noticed warnings about 'conditional jump or move depending

Re: [Interest] QNetwork problem in threaded application (repost from development).

2013-09-11 Thread Benjamin Zeller
Ok, i implemented a simple testcase (as simple as possible). And it crashes at exactly the same place. The testcode is attached to the mail! I ran 7 instances of autobench against it (httperf needs to be installed), but maybe it will crash sooner or later if only one is running: http://www.xen

[Interest] QUdpSocket broken?

2013-09-11 Thread Guido Seifert
Hi, my QUdpSocket problems got worse. It is so broken that I don't believe that it's Qt code. But on the other hand, my code is too simple not to work. I send a datagram from program 1: qudpsocket->writeDatagram(,QHostAdress(127.0.0.1),5); In the other program I connected a qudpsocket: con

[Interest] [Qt Tests Framework] Custom command line arguments

2013-09-11 Thread Denis Shienkov
Hi all, Tell please, is there a way to transfer the user arguments to testlib application via an command line? For example, I want to create the test which would open some devices for I/O and I used them, like: mytest.exe -dev1 -dev2 ? Best regards, Denis _

Re: [Interest] Why QLabel block mouseReleaseEvent when holds rich text?

2013-09-11 Thread william.croc...@analog.com
On 09/11/2013 07:08 AM, nate.y...@gmail.com wrote: > Hi guys, > > I have a frameless dialog and implement the title bar by myself. I implement > the > mousePressEvent, mouseReleaseEvent and mouseMoveEvent of the dialog, so users > can drag the dialog. Every thing works fine until I put a QLabel, w

[Interest] Why QLabel block mouseReleaseEvent when holds rich text?

2013-09-11 Thread nate . yuan
Hi guys, I have a frameless dialog and implement the title bar by myself. I implement the mousePressEvent, mouseReleaseEvent and mouseMoveEvent of the dialog, so users can drag the dialog. Every thing works fine until I put a QLabel, which holds rich text, on the title bar. The QLabel

[Interest] GLWidget blinking when moving

2013-09-11 Thread baneyue
Hi guys: I'm doing with a customlize title bar combined with a QGLWidget. My trouble is that when i drag the title bar, it should behave like a native title bar(move its content, i.e. the GLWidget, along with itself), BUT in fact, the GLWidget keep blinking and some

[Interest] compiling Qt dev branch for iOS

2013-09-11 Thread Lanin Alexander (BSOT/ENG)
Hi all, I'm trying to compile a recent dev branch of Qt (85d30ddaa31fc) for an iPhone on a Mac. What I want is to try out qml on iPhone/iPad. Here is my configure: configure -prefix ~/Qt5-iOS-sim -opensource -xplatform unsupported/macx-ios-clang -developer-build -nomake examples -nomake tests -

Re: [Interest] synchronize multiple graphicsviews

2013-09-11 Thread Alexander Görtz
Hi > > > The thing is (as you probably guess already) that these fires the > > > signal too, so i end up in a loop I hope I get this right, but maybe you should try to do it like it is done in the Qt GUI elements. In the setter slot you could check if the new value equals the current value an