Re: [Interest] Does it really worth it?

2012-03-29 Thread josemaria
I can not buy a N9 in Spain, they have decided that a Windows Phone is
better for me. They are  on a mistake, of course.

 Den 28-03-2012 19:03, Quim Gil skrev:
[...]
 - That developer had a concern about the future of Qt in 2015, and the
 Nokia involvement. In few hours he got answers from three Nokia
 employees working full time in Qt and showing confidence in the
 strategic commitment of their employer in Qt.

 Here's one for all those people craving official information from Nokia:
 http://www.netbooknews.com/47197/nokia-working-on-two-new-low-end-meego-smartphones/

 This is great news, it looks like the N9 isn't the end of the line. I
 still use the one I got on DevDays as my main phone as well as for
 development. And I even bought a new N9 for my wife last week. Meego
 phones are still here. Yay :)

 I know a bunch of people working in the Ulm office (Germany, close to
 Munich), and several headhunters have tried to hired me for it as well.
 I can't find out what it is they're doing there (and that's *so*
 annoying), but they're still hiring Qt people for the office. You do the
 math (not necessarily on this list, though).

 Bo Thorsen,
 Fionia Software.

 --

 Expert Qt and C++ developer for hire
 Contact me if you need expert Qt help
 http://www.fioniasoftware.dk
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Phonon video

2012-03-29 Thread R. Reucher
Phonon is highly dependent on the back-end and in case of the video-player, 
especially on the quality of the available codecs... on Windows, I've had best 
results with the codecs from

http://www.windows7codecs.com/

I can assure you that Phonon still works this week :). But surely, Windows 
updates can ruin your live... and it's not a problem of Qt / Phonon.

HTH, René

On Thursday 29 March 2012 14:34:42 Bo Thorsen wrote:
 Hi people,
 
 I've been trying to figure out why phonon suddenly doesn't work anymore.
 It plays audio just fine but not video. I'm completely stuck.
 
 I built and ran the qmediaplayer demo and saw the same thing, so it's
 not my code. And the same code plays the files just fine on Linux. But
 just for reference, here it is anyway:
 
  mPlayer = new Phonon::MediaObject(this);
  mVideo = new Phonon::VideoWidget;
  Phonon::createPath(mPlayer, mVideo);
  if (!mPlayer-hasVideo()) {
  qDebug()  Phonon video sink is not available;
  ...
  }
 
 hasVideo() returns false, and any attempt at adding a video file to
 Phonon gives me a Pause Called in the debug output window. This is the
 code used to play a file:
 
  mVideo-show();
  mVideo-resize(200, 200);
  mPlayer-enqueue(Phonon::MediaSource(filename));
  mPlayer-play();
 
 Calling Phonon::BackendCapabilities::availableMimeTypes() gives me a
 list of 54 mimetypes with both audio and video types in it. The files
 I'm trying to play are supported, and Windows Media Player plays them
 just fine.
 
 Now here's the really strange part: Last week it worked. But suddenly,
 video playback is gone. I have no clue what happened in between. I might
 have updated Windows, but if that breaks Phonon, we have a real problem.
 
 I can see that the DS94 backend is still there in both my 4.8.0 and
 4.7.4 plugins.
 
 This really worries me. The code is for a customer with an embedded
 system that's going to be deployed on machines in many countries.
 Calling those back to fix a Phonon problem *is not* an option. If Phonon
 can't deliver a stable environment (and I currently seriously doubt
 this), I will have to ditch it.
 
 I obviously tried to search the net for this, and found plenty of people
 with the same result. But none with a solution for it. I hope someone
 here can help.
 
 I'm on Windows 7 x64 and Windows XP 32 bit, using a fully updated SDK
 2.4.1 with both visual studio 8 and mingw compilers and Qt versions
 4.8.0 and 4.7.4.
 
 Bo Thorsen,
 Fionia Software.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Phonon video

2012-03-29 Thread Bo Thorsen
Hi Jason,

Thanks for the attempt :)

As I say in the description, it worked last week, now it doesn't. So 
it's not a question of installing working codecs, because I didn't 
uninstall any of them.

Also, when I first tried to play the files we use, WMP wasn't able to 
play them, so Phonon wasn't either. Then I installed the codecs, and 
both were able to play them. Now, only WMP can play the files.

About the QtMultimedia: The detailed description of the module says The 
functionality provided by the Phonon Module is on a higher level and in 
many cases more suitable for application developers.

But maybe I have to use it if Phonon is broken beyond reasonable repair.

Bo.

Den 29-03-2012 15:48, Jason H skrev:
 I thought QtMultimediaKit was the way to go?

 I would suspect that something in the DS filter graph changed. Verify you 
 have a valid path for the file type you are trying to play: 
 http://msdn.microsoft.com/en-us/library/ms787460.aspx
 Keep in mind you still need to install video codecs because mingw version of 
 Qt does not work with Windows7's new media interfaces. Installing K-Lite 
 Codec pack usigally works for me.



 - Original Message -
 From: Bo Thorsenb...@fioniasoftware.dk
 To: Qt Project MailingListinterest@qt-project.org
 Cc:
 Sent: Thursday, March 29, 2012 8:34 AM
 Subject: [Interest] Phonon video

 Hi people,

 I've been trying to figure out why phonon suddenly doesn't work anymore.
 It plays audio just fine but not video. I'm completely stuck.

 I built and ran the qmediaplayer demo and saw the same thing, so it's
 not my code. And the same code plays the files just fine on Linux. But
 just for reference, here it is anyway:

   mPlayer = new Phonon::MediaObject(this);
   mVideo = new Phonon::VideoWidget;
   Phonon::createPath(mPlayer, mVideo);
   if (!mPlayer-hasVideo()) {
   qDebug()  Phonon video sink is not available;
   ...
   }

 hasVideo() returns false, and any attempt at adding a video file to
 Phonon gives me a Pause Called in the debug output window. This is the
 code used to play a file:

   mVideo-show();
   mVideo-resize(200, 200);
   mPlayer-enqueue(Phonon::MediaSource(filename));
   mPlayer-play();

 Calling Phonon::BackendCapabilities::availableMimeTypes() gives me a
 list of 54 mimetypes with both audio and video types in it. The files
 I'm trying to play are supported, and Windows Media Player plays them
 just fine.

 Now here's the really strange part: Last week it worked. But suddenly,
 video playback is gone. I have no clue what happened in between. I might
 have updated Windows, but if that breaks Phonon, we have a real problem.

 I can see that the DS94 backend is still there in both my 4.8.0 and
 4.7.4 plugins.

 This really worries me. The code is for a customer with an embedded
 system that's going to be deployed on machines in many countries.
 Calling those back to fix a Phonon problem *is not* an option. If Phonon
 can't deliver a stable environment (and I currently seriously doubt
 this), I will have to ditch it.

 I obviously tried to search the net for this, and found plenty of people
 with the same result. But none with a solution for it. I hope someone
 here can help.

 I'm on Windows 7 x64 and Windows XP 32 bit, using a fully updated SDK
 2.4.1 with both visual studio 8 and mingw compilers and Qt versions
 4.8.0 and 4.7.4.

 Bo Thorsen,
 Fionia Software.



Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Phonon video

2012-03-29 Thread Bill Crocker
On 03/29/2012 10:59 AM, Jason H wrote:
 I hate to ask this, but have you rebooted?


Along that vein. There is a great sitcom called The IT Crowd
that came out of Great Britain. You can find it on Netflix.
The line Have you tried turning it off and on. is used
constantly. Must see.

Bill

 And I'd love to see your filter graph.



 - Original Message -
 From: Bo Thorsenb...@fioniasoftware.dk
 To: Jason Hscorp...@yahoo.com
 Cc: Qt Project MailingListinterest@qt-project.org
 Sent: Thursday, March 29, 2012 9:59 AM
 Subject: Re: [Interest] Phonon video

 Hi Jason,

 Thanks for the attempt :)

 As I say in the description, it worked last week, now it doesn't. So
 it's not a question of installing working codecs, because I didn't
 uninstall any of them.

 Also, when I first tried to play the files we use, WMP wasn't able to
 play them, so Phonon wasn't either. Then I installed the codecs, and
 both were able to play them. Now, only WMP can play the files.

 About the QtMultimedia: The detailed description of the module says The
 functionality provided by the Phonon Module is on a higher level and in
 many cases more suitable for application developers.

 But maybe I have to use it if Phonon is broken beyond reasonable repair.

 Bo.

 Den 29-03-2012 15:48, Jason H skrev:
 I thought QtMultimediaKit was the way to go?

 I would suspect that something in the DS filter graph changed. Verify you 
 have a valid path for the file type you are trying to play: 
 http://msdn.microsoft.com/en-us/library/ms787460.aspx
 Keep in mind you still need to install video codecs because mingw version of 
 Qt does not work with Windows7's new media interfaces. Installing K-Lite 
 Codec pack usigally works for me.



 - Original Message -
 From: Bo Thorsenb...@fioniasoftware.dk
 To: Qt Project MailingListinterest@qt-project.org
 Cc:
 Sent: Thursday, March 29, 2012 8:34 AM
 Subject: [Interest] Phonon video

 Hi people,

 I've been trying to figure out why phonon suddenly doesn't work anymore.
 It plays audio just fine but not video. I'm completely stuck.

 I built and ran the qmediaplayer demo and saw the same thing, so it's
 not my code. And the same code plays the files just fine on Linux. But
 just for reference, here it is anyway:

 mPlayer = new Phonon::MediaObject(this);
 mVideo = new Phonon::VideoWidget;
 Phonon::createPath(mPlayer, mVideo);
 if (!mPlayer-hasVideo()) {
 qDebug()   Phonon video sink is not available;
 ...
 }

 hasVideo() returns false, and any attempt at adding a video file to
 Phonon gives me a Pause Called in the debug output window. This is the
 code used to play a file:

 mVideo-show();
 mVideo-resize(200, 200);
 mPlayer-enqueue(Phonon::MediaSource(filename));
 mPlayer-play();

 Calling Phonon::BackendCapabilities::availableMimeTypes() gives me a
 list of 54 mimetypes with both audio and video types in it. The files
 I'm trying to play are supported, and Windows Media Player plays them
 just fine.

 Now here's the really strange part: Last week it worked. But suddenly,
 video playback is gone. I have no clue what happened in between. I might
 have updated Windows, but if that breaks Phonon, we have a real problem.

 I can see that the DS94 backend is still there in both my 4.8.0 and
 4.7.4 plugins.

 This really worries me. The code is for a customer with an embedded
 system that's going to be deployed on machines in many countries.
 Calling those back to fix a Phonon problem *is not* an option. If Phonon
 can't deliver a stable environment (and I currently seriously doubt
 this), I will have to ditch it.

 I obviously tried to search the net for this, and found plenty of people
 with the same result. But none with a solution for it. I hope someone
 here can help.

 I'm on Windows 7 x64 and Windows XP 32 bit, using a fully updated SDK
 2.4.1 with both visual studio 8 and mingw compilers and Qt versions
 4.8.0 and 4.7.4.

 Bo Thorsen,
 Fionia Software.



 Bo Thorsen,
 Fionia Software.


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Qt 4.8.1 and chunked transfer encoding returning 0 size

2012-03-29 Thread Tony Rietwyk
Hi Everybody, 

I've just upgraded from 4.8.0 commercial to 4.8.1 commercial on Win 7 64
bit.  The program accesses a server using HTTPS POST.  When the response
size is less than about 170Kb everything works as before.  With larger
responses, the raw headers also include Transfer-Encoding with value
chunked.  In the network finished slot, readAll then returns an empty
QByteArray.  

Is there something else I need to do to get chunked encoding to work in
4.8.1?   4.8.0 was happily returning responses over 630Kb.  

Thanks, 

Tony.


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread Sherif Ghali
The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to
be able to generate a Visual Studio project file by running 'qmake
-spec win32-msvc2008' from the Qt command window.

Now with Qt 4.8.1 and Visual C++ 2010, running 'qmake -spec
win32-msvc2010' only generates Makefile, Makefile.debug, and
Makefile.release, but no VS project file. (The Makefile is otherwise
usable with nmake just fine.)

What am I missing?

Sherif
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread Thiago Macieira
On quinta-feira, 29 de março de 2012 13.59.00, Sherif Ghali wrote:
 The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to
 be able to generate a Visual Studio project file by running 'qmake
 -spec win32-msvc2008' from the Qt command window.

You need to add: -tp vc

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
 Intel Sweden AB - Registration Number: 556189-6027
 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden


signature.asc
Description: This is a digitally signed message part.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] HTML5 canvas support?

2012-03-29 Thread Jason H
No one else thought this was cool?




 From: Jason H scorp...@yahoo.com
To: Interests Qt interest@qt-project.org 
Sent: Wednesday, March 28, 2012 2:24 PM
Subject: [Interest] HTML5 canvas support?
 


I think we should be able to paint to a HTML5 canvas.

I created the attached PoC, modeled after QPicture. See main.cpp for an example.


The code is released with the following license: 

USE: Use at your own risk. Use it as you wish with no warranties or fitness 
expressed or implied. 
COPYING/DISTRIBUTION: Don't claim the original code is yours, that would  be 
wrong. Please attribute the original code to me. (It's a resume thing) It is 
your responsibility to put my email address in the file headers. You may use 
the code in Open and Closed Source projects, and assign what ever license and 
copyright as you wish. I don't assert any copyright, just credit.

Details:
The rendering is pretty good I've noticed fonts are not pixel-perfect but 
pretty close. The HTML5 canvas system (at least in FireFox) needs a 0.5px 
offset to generate a line properly, so things may be a tad off.

If you browser supports HTML I'm attaching sample output. (123.html)

I'd love to see how you use this. Feel free to show me.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

2012-03-29 Thread 1+1=2
Hi Sherif,

Generated makefiles for nmake or generated vcproj for visual studio,
depending on which TEMPLATE you used in your .pro file.

app / lib == makefiles
vcapp / vclib == .vcproj

As Thiago said, the convenient way to do this is add -tp vc to
qmake's command line, if you TEMPLATE is app or lib.

Regards,

Debao

On Thu, Mar 29, 2012 at 10:59 AM, Sherif Ghali sherif.ghal...@gmail.com wrote:
 The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to
 be able to generate a Visual Studio project file by running 'qmake
 -spec win32-msvc2008' from the Qt command window.

 Now with Qt 4.8.1 and Visual C++ 2010, running 'qmake -spec
 win32-msvc2010' only generates Makefile, Makefile.debug, and
 Makefile.release, but no VS project file. (The Makefile is otherwise
 usable with nmake just fine.)

 What am I missing?

 Sherif
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Does it really worth it?

2012-03-29 Thread gemfield
You can come to China ,both N9 and lumia are popular. :-)

--Gemfield.cn

 

- Original Message -From: josema...@gomezvergara.es
To: Bo Thorsen b...@fioniasoftware.dk

I can not buy a N9 in Spain, they have decided that a Windows Phone is
better for me. They are  on a mistake, of course.

 Den 28-03-2012 19:03, Quim Gil skrev:
[...]
 - That developer had a concern about the future of Qt in 2015, and the
 Nokia involvement. In few hours he got answers from three Nokia
 employees working full time in Qt and showing confidence in the
 strategic commitment of their employer in Qt.

 Here's one for all those people craving official information from Nokia:
 http://www.netbooknews.com/47197/nokia-working-on-two-new-low-end-meego-smartphones/

 This is great news, it looks like the N9 isn't the end of the line. I
 still use the one I got on DevDays as my main phone as well as for
 development. And I even bought a new N9 for my wife last week. Meego
 phones are still here. Yay :)

 I know a bunch of people working in the Ulm office (Germany, close to
 Munich), and several headhunters have tried to hired me for it as well.
 I can't find out what it is they're doing there (and that's *so*
 annoying), but they're still hiring Qt people for the office. You do the
 math (not necessarily on this list, though).

 Bo Thorsen,
 Fionia Software.

 --

 Expert Qt and C++ developer for hire
 Contact me if you need expert Qt help
 http://www.fioniasoftware.dk
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Can Qt Creator diff two files?

2012-03-29 Thread gemfield
Hi,
I use Qt Creator 2.4.1,Can Qt Creator diff two files,and can copy from one to 
another,like winmerge ?

--
Gemfield

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest