From 2281570025 at qq.com Tue Dec 2 04:20:57 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Tue, 2 Dec 2014 11:20:57 +0800 Subject: [PySide] QNetworkAccessManager : server closed some connections prematurely Message-ID: I made 24 requests to the network through QNetworkAccessManager::get() by a for-loop,after a few minutes later,the remote server closed some connections prematurely before the entire reply was received and processed,then the queued/pending download tasks cannot be done, so is there any anyway to allow me download all the files these links direct to without letting the server closed some connections prematurely ? here is the 24 request links(may be already expired) http://119.145.138.182/youku/67811C7C45D14A82B3725284353/03000218104D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.51/youku/677677304654674F299B82C3D/03000218024D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://113.107.113.136/youku/677C1F7A44C3A81942BD642D08/03000218094D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.44/youku/65811C7C49674474CDE15834D5/03000218124D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://117.27.153.210/youku/6779B2C8E65497973D8405F92/03000218064D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.12/youku/6774D964A324C7560B1EC303A/03000218004D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://124.232.154.144/youku/65740A7E83D4E847C51CDD6AB5/03000218014D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://183.60.145.13/youku/658136590892317C7B95E533B8/03000218144D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://113.107.113.83/youku/6979B2C856D3181545A30657CD/03000218044D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://110.80.131.84/youku/6581296AAB6536811E99E3646F0/03000218134D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://183.60.145.19/youku/6575A84A6DB3B7F15567C28C5/03000218034D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://110.80.131.17/youku/69811C7C4DAF328108F7BC96EC3/030002180E4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://124.232.154.132/youku/67817700E7473E838DB4FDA3B28/03000218174D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://124.232.154.182/youku/677DBD466B83583077D8B76023/030002180B4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://110.80.131.15/youku/65810F8DE7AC42815F7CD7E6CB7/03000218114D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://183.61.6.232/youku/698183EF488F4781254747C3842/03000218164D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://120.37.140.115/youku/6578E3E2ABB31782AB906256A/03000218074D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.14/youku/697A81AE8D03773DF38D84136/03000218054D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.110/youku/677B50948C54C7560CEA261B7/03000218084D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://113.106.202.73/youku/69810F8DEBF44A8202A46144A2B/030002180D4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://183.60.145.20/youku/677CEE607CC45811AF163742A4/030002180A4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://113.103.44.108/youku/6981296AA5A634815C043313463/030002180F4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://183.60.145.201/youku/6981029F8F0247812346E023EAB/030002180C4D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv http://121.12.89.18/youku/69817700E5E53873F194D5637D/03000218154D86756800B7019B3998DC9D450D-7CC6-5616-5022-461BD12BA794.flv ‍ -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Wed Dec 3 16:48:57 2014 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 3 Dec 2014 16:48:57 +0100 Subject: [PySide] QNetworkAccessManager : server closed some connections prematurely In-Reply-To: References: Message-ID: <20141203154857.GK443@tonks> * iMath <2281570025 at qq.com> [2014-12-02 11:20:57 +0800]: > I made 24 requests to the network through QNetworkAccessManager::get() by a for-loop,after a few minutes later,the remote server closed some connections prematurely before the entire reply was received and processed,then the queued/pending download tasks cannot be done, > so is there any anyway to allow me download all the files these links direct to without letting the server closed some connections prematurely ? > [...] --- I already said the same on the PyQt-mailinglist, but I'll repeat it here as well for the record: - This might be a server problem, not a Qt problem - If not, this is a Qt problem, not a PyQt problem - Without seeing code it's hard if someone wants to help you anyways. My guess would be you somehow open all connections and then read them to disk one-by-one, and get a timeout. But as said, show code. --- Really, again: Nobody wants to guess for you. Even more so if you're asking in the wrong place. There might be people (like me!) who still want to help - but we can't read your mind. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From williamgeraldo at gmail.com Thu Dec 4 23:37:58 2014 From: williamgeraldo at gmail.com (William Ferreira) Date: Thu, 4 Dec 2014 20:37:58 -0200 Subject: [PySide] Qt 5/Contribution Message-ID: Good night I have not seen major changes in PySide especially as regards the Qt5. Can anything be done to help support Qt5? Thank you -- William Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.richi at bluewin.ch Thu Dec 4 23:44:09 2014 From: a.richi at bluewin.ch (Aaron Richiger) Date: Thu, 04 Dec 2014 23:44:09 +0100 Subject: [PySide] Qt 5/Contribution In-Reply-To: References: Message-ID: <5480E3B9.8080104@bluewin.ch> Dear PySiders Really? This would be great news!!! How is the current state? Would be great if the people working on it could update us via mailing-list from time to time, because I am sure, that everybody is waiting for Qt5 support more than for Christmas :-) Thousand thanks to the develper working on this! Cheers Aaron Am 04.12.2014 23:37, schrieb William Ferreira: > Good night > > I have not seen major changes in PySide especially as regards the Qt5. > Can anything be done to help support Qt5? > > Thank you > > -- > William Ferreira > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside -------------- next part -------------- An HTML attachment was scrubbed... URL: From ochiu at teslamotors.com Fri Dec 5 00:17:23 2014 From: ochiu at teslamotors.com (Otto Chiu) Date: Thu, 4 Dec 2014 23:17:23 +0000 Subject: [PySide] Building bindings Message-ID: <459D4CF76F76B54697869793F5BEF3592D9FC6F4@SJC04-DAG01-N02.teslamotors.com> Hi, A couple of years ago I inherited a project to build Windows Python bindings for C++ Qt code. While I understand the big picture concept, I do not understand the details of every step in the way. I now need to make bindings for OS X and Linux, so I would like to take the opportunity to understand how this is done. The PySide docs seem to be a little bit outdated. Can someone help describe the process and if there are any example of generating bindings for the non-Windows platform? Thanks! Otto -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.anes at gmail.com Fri Dec 5 16:12:23 2014 From: david.anes at gmail.com (David Anes) Date: Fri, 5 Dec 2014 16:12:23 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 Message-ID: Dear pysiders, How much should be donated to make Qt5 support a reality? Why don't we try to set a bounty so PySide developers really push to get it done? Who wants to join? Who many of us would donate? I have some spare BTC (0.5BTC) and Euro (100€) to donate if we can reach a decent amount for the core PySide developers. Come on guys, let's make this a reality. David. -- David "kraptor" Anes Alcolea * @kraptor @simlaps * linkedin.com/in/davidanes * kraptor.com | simlaps.com | 900grados.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis.victorovich at gmail.com Mon Dec 8 10:41:27 2014 From: dennis.victorovich at gmail.com (Dennis Victorovich) Date: Mon, 8 Dec 2014 13:41:27 +0400 Subject: [PySide] Fwd: Building bindings In-Reply-To: References: <459D4CF76F76B54697869793F5BEF3592D9FC6F4@SJC04-DAG01-N02.teslamotors.com> Message-ID: FYI ---------- Forwarded message ---------- From: Dennis Victorovich Date: 2014-12-08 12:40 GMT+03:00 Subject: Re: [PySide] Building bindings To: Otto Chiu Hi, you can find tutorials on web, just google "pyside binding generator" and "pyside hybrid app". We add "--enable-pyside-extensions" and on a non-windows you don't need to use "--avoid-protected-hack" Thats all the difference. We've been using pyside very extensively (3 years, win32, linux x86/x64) in our product https://www.datadvance.net/product/pseven/ We've fixed some of bugs in core of shiboken (c++ bindings generator https://bugreports.qt-project.org/browse/PYSIDE-107). Generally I think PySide is great because it allows to create flexible bindings with almost no time cost (xml declaration --> c++ code generation). We've automated and integrated that in build process with CMake and it works smoothly, same on all platforms. Two major problems: * lack of C++ exceptions handling and translation between c++/python layers (I've submitted 2 years ago https://bugreports.qt-project.org/browse/PYSIDE-62) * lack of Qt 5.x support (requires to update all xml of Qt* libraries and some work in a shiboken) We have good understanding of pyside internals. There are lots of small bugs that need to be fixed, the problem is dedicated time and funding. 2014-12-05 2:17 GMT+03:00 Otto Chiu : > Hi, > > A couple of years ago I inherited a project to build Windows Python > bindings for C++ Qt code. While I understand the big picture concept, I do > not understand the details of every step in the way. I now need to make > bindings for OS X and Linux, so I would like to take the opportunity to > understand how this is done. The PySide docs seem to be a little bit > outdated. Can someone help describe the process and if there are any > example of generating bindings for the non-Windows platform? > > > > Thanks! > > Otto > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 2281570025 at qq.com Wed Dec 10 07:07:30 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Wed, 10 Dec 2014 14:07:30 +0800 Subject: [PySide] user interface freezed when using concurrent.futures.ThreadPoolExecutor Message-ID: I think the user interface shouldn't be freezed when using concurrent.futures.ThreadPoolExecutor here, but it doesn't meet my expectations,anyone can explain why ? any other solutions here to not let user interface freezed?‍ code is here http://stackoverflow.com/questions/27393533/user-interface-freezed-when-using-concurrent-futures-threadpoolexecutor‍ -------------- next part -------------- An HTML attachment was scrubbed... URL: From stanypub at gmail.com Wed Dec 10 17:31:44 2014 From: stanypub at gmail.com (Stany MARCEL) Date: Wed, 10 Dec 2014 17:31:44 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: Message-ID: Hello Maybe a crowd funding to hire a full time developer should be a good idea. VLC association have done a kickstarter to fund the dev of VLC windows 8 support. Is pyside currently only community driven or is there any association or company behind, that could organize that. Regards, On Fri, Dec 5, 2014 at 4:12 PM, David Anes wrote: > Dear pysiders, > > How much should be donated to make Qt5 support a reality? > > Why don't we try to set a bounty so PySide developers really push to get > it done? Who wants to join? Who many of us would donate? > > I have some spare BTC (0.5BTC) and Euro (100€) to donate if we can reach a > decent amount for the core PySide developers. > > Come on guys, let's make this a reality. > David. > > -- > David "kraptor" Anes Alcolea > * @kraptor @simlaps > > * linkedin.com/in/davidanes > * kraptor.com | simlaps.com | 900grados.es > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stanypub at gmail.com Wed Dec 10 17:34:24 2014 From: stanypub at gmail.com (Stany MARCEL) Date: Wed, 10 Dec 2014 17:34:24 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: Message-ID: Here the VLC kickstarter campaign: https://www.kickstarter.com/projects/1061646928/vlc-for-the-new-windows-8-user-experience-metro On Wed, Dec 10, 2014 at 5:31 PM, Stany MARCEL wrote: > Hello > > Maybe a crowd funding to hire a full time developer should be a good idea. > VLC association have done a kickstarter to fund the dev of VLC windows 8 > support. > > Is pyside currently only community driven or is there any association or > company behind, that could organize that. > > Regards, > > > On Fri, Dec 5, 2014 at 4:12 PM, David Anes wrote: > >> Dear pysiders, >> >> How much should be donated to make Qt5 support a reality? >> >> Why don't we try to set a bounty so PySide developers really push to get >> it done? Who wants to join? Who many of us would donate? >> >> I have some spare BTC (0.5BTC) and Euro (100€) to donate if we can reach >> a decent amount for the core PySide developers. >> >> Come on guys, let's make this a reality. >> David. >> >> -- >> David "kraptor" Anes Alcolea >> * @kraptor @simlaps >> >> * linkedin.com/in/davidanes >> * kraptor.com | simlaps.com | 900grados.es >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Wed Dec 10 17:38:51 2014 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 10 Dec 2014 17:38:51 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: Message-ID: <20141210163851.GO445@tonks> * Stany MARCEL [2014-12-10 17:31:44 +0100]: > Hello > > Maybe a crowd funding to hire a full time developer should be a good idea. > VLC association have done a kickstarter to fund the dev of VLC windows 8 > support. I'd be in! > Is pyside currently only community driven or is there any association or > company behind, that could organize that. According to the Wikipedia page it was released by Nokia, so probably Digia / The Qt Company would be the one to contact nowadays. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From jpe at wingware.com Wed Dec 10 17:56:17 2014 From: jpe at wingware.com (John Ehresman) Date: Wed, 10 Dec 2014 11:56:17 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <20141210163851.GO445@tonks> References: <20141210163851.GO445@tonks> Message-ID: <54887B31.7060200@wingware.com> On 12/10/14, 11:38 AM, Florian Bruhin wrote: > * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> Hello >> >> Maybe a crowd funding to hire a full time developer should be a good idea. >> VLC association have done a kickstarter to fund the dev of VLC windows 8 >> support. > > I'd be in! > >> Is pyside currently only community driven or is there any association or >> company behind, that could organize that. > > According to the Wikipedia page it was released by Nokia, so probably > Digia / The Qt Company would be the one to contact nowadays. PySide is in the Qt repository but its development is substantially community driven at this point. I am the somewhat reluctant maintainer that hasn't been able to find much time to work on PySide recently. I don't think the VLC kickstarter is a good model for funding PySide development because VLC is a consumer application with many times the number of users as direct users of PySide (the developers using PySide, not the users of applications built with it). John From erik.johansson at fido.se Wed Dec 10 17:57:32 2014 From: erik.johansson at fido.se (Erik Johansson) Date: Wed, 10 Dec 2014 17:57:32 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <20141210163851.GO445@tonks> References: <20141210163851.GO445@tonks> Message-ID: http://www.sidefx.com/ Just started using PySide in Houdini 14. There are a lot of companies that do this and I think when they make the move from Qt4 to Qt5 for their applications this problem will solve it self. But just guessing. Cheers, Erik On Wed, Dec 10, 2014 at 5:38 PM, Florian Bruhin wrote: > * Stany MARCEL [2014-12-10 17:31:44 +0100]: > > Hello > > > > Maybe a crowd funding to hire a full time developer should be a good > idea. > > VLC association have done a kickstarter to fund the dev of VLC windows 8 > > support. > > I'd be in! > > > Is pyside currently only community driven or is there any association or > > company behind, that could organize that. > > According to the Wikipedia page it was released by Nokia, so probably > Digia / The Qt Company would be the one to contact nowadays. > > Florian > > -- > http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) > GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc > I love long mails! | http://email.is-not-s.ms/ > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -- *Erik Johansson* *Pipeline TD* *Fido*Rosenlundsgatan 36 118 53 Stockholm, Sweden www.fido.se -------------- next part -------------- An HTML attachment was scrubbed... URL: From williamgeraldo at gmail.com Wed Dec 10 18:04:30 2014 From: williamgeraldo at gmail.com (William Ferreira) Date: Wed, 10 Dec 2014 15:04:30 -0200 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <54887B31.7060200@wingware.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: John Ehresman, I was analyzing the commits the time and saw that you did much. I did a little post here just wondering what we can do to help this process. If you can guide us believe that many would like to help. 2014-12-10 14:56 GMT-02:00 John Ehresman : > On 12/10/14, 11:38 AM, Florian Bruhin wrote: > > * Stany MARCEL [2014-12-10 17:31:44 +0100]: > >> Hello > >> > >> Maybe a crowd funding to hire a full time developer should be a good > idea. > >> VLC association have done a kickstarter to fund the dev of VLC windows 8 > >> support. > > > > I'd be in! > > > >> Is pyside currently only community driven or is there any association or > >> company behind, that could organize that. > > > > According to the Wikipedia page it was released by Nokia, so probably > > Digia / The Qt Company would be the one to contact nowadays. > > PySide is in the Qt repository but its development is substantially > community driven at this point. I am the somewhat reluctant maintainer > that hasn't been able to find much time to work on PySide recently. > > I don't think the VLC kickstarter is a good model for funding PySide > development because VLC is a consumer application with many times the > number of users as direct users of PySide (the developers using PySide, > not the users of applications built with it). > > John > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -- William Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.anes at gmail.com Thu Dec 11 09:02:25 2014 From: david.anes at gmail.com (David Anes) Date: Thu, 11 Dec 2014 09:02:25 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> Message-ID: Hi Erik, Unfortunately my experience says that we, as a opensource community, can not rely on companies. Today a company is willing to help, tomorrow not... too volatile. I would prefer a sane opensource project that doesn't depend on big companies. But this is only my humble (and possible dumb) opinion :D Regards, David. 2014-12-10 17:57 GMT+01:00 Erik Johansson : > http://www.sidefx.com/ Just started using PySide in Houdini 14. > > There are a lot of companies that do this and I think when they make the > move from Qt4 to Qt5 for their applications this problem will solve it self. > > But just guessing. > > Cheers, > Erik > > On Wed, Dec 10, 2014 at 5:38 PM, Florian Bruhin > wrote: > >> * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> > Hello >> > >> > Maybe a crowd funding to hire a full time developer should be a good >> idea. >> > VLC association have done a kickstarter to fund the dev of VLC windows 8 >> > support. >> >> I'd be in! >> >> > Is pyside currently only community driven or is there any association or >> > company behind, that could organize that. >> >> According to the Wikipedia page it was released by Nokia, so probably >> Digia / The Qt Company would be the one to contact nowadays. >> >> Florian >> >> -- >> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) >> GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc >> I love long mails! | http://email.is-not-s.ms/ >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> >> > > > -- > > > *Erik Johansson* > *Pipeline TD* > *Fido*Rosenlundsgatan 36 > 118 53 Stockholm, Sweden > www.fido.se > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -- David "kraptor" Anes Alcolea * @kraptor @simlaps * linkedin.com/in/davidanes * kraptor.com | simlaps.com | 900grados.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.anes at gmail.com Thu Dec 11 09:12:27 2014 From: david.anes at gmail.com (David Anes) Date: Thu, 11 Dec 2014 09:12:27 +0100 Subject: [PySide] user interface freezed when using concurrent.futures.ThreadPoolExecutor In-Reply-To: References: Message-ID: Hi, this is not a Pyside/PyQT bug. This is about Python and the beloved-and-hated GIL (https://wiki.python.org/moin/GlobalInterpreterLock). By spawning a lot of threads (like ThreadPoolExecutor does) you are preventing the UI thread to refresh because there can't be more than one thread at a time running python code. To circumvent this, you can put some microsleeps like sleep(0.1) here and there (so you give the thread scheduler to eventually allocate time for the UI thread), you can build a synchronization strategy for the threads to call QApplication.processEvents() in the main thread, or use multiprocessing instead of threading (that complicates things and, depending of the problem you have, can even slow down you multithreaded algorithm). Hope this helps, David. 2014-12-10 7:07 GMT+01:00 iMath <2281570025 at qq.com>: > I think the user interface shouldn't be freezed when using > concurrent.futures.ThreadPoolExecutor here, but it doesn't meet my > expectations,anyone can explain why ? any other solutions here to not let > user interface freezed?‍ > > code is here > > http://stackoverflow.com/questions/27393533/user-interface-freezed-when-using-concurrent-futures-threadpoolexecutor > ‍ > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -- David "kraptor" Anes Alcolea * @kraptor @simlaps * linkedin.com/in/davidanes * kraptor.com | simlaps.com | 900grados.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdeibel at wingware.com Thu Dec 11 15:52:30 2014 From: sdeibel at wingware.com (Stephan Deibel) Date: Thu, 11 Dec 2014 09:52:30 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <20141210163851.GO445@tonks> References: <20141210163851.GO445@tonks> Message-ID: <5489AFAE.109@wingware.com> Florian Bruhin wrote: >> Is pyside currently only community driven or is there any association or >> > company behind, that could organize that. > > According to the Wikipedia page it was released by Nokia, so probably > Digia / The Qt Company would be the one to contact nowadays. That's the formal entity behind PySide, mainly just because they inherited it from Nokia with the rest of Qt. I think they have little interest and don't do any work on PySide. I don't think there's any requirement they are involved with any kickstarter or similar campaign. That would be between the people wanting to do that work and the crowd funders. The result can, but does not have to be, merged back into the official PySide. - Stephan From sdeibel at wingware.com Thu Dec 11 15:55:58 2014 From: sdeibel at wingware.com (Stephan Deibel) Date: Thu, 11 Dec 2014 09:55:58 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> Message-ID: <5489B07E.8020502@wingware.com> David Anes wrote: > Unfortunately my experience says that we, as a opensource community, > can not rely on companies. Today a company is willing to help, > tomorrow not... too volatile. > > I would prefer a sane opensource project that doesn't depend on big > companies. But this is only my humble (and possible dumb) opinion :D A lot of work that goes into open source projects is actually done by people working at companies and paid for their work, but it's often difficult to get those same companies to pledge formal support, to donate money, or sometimes even to admit that they are using the open source component. And yes they are fickle... PySide certainly got hurt by that after being dumped by Nokia in a way that made it hard to salvage some of the docs and associated info. - Stephan From gliblib247 at gmail.com Thu Dec 11 16:40:56 2014 From: gliblib247 at gmail.com (Steve Payne) Date: Thu, 11 Dec 2014 10:40:56 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: I think we need to have two different conversations that are related. 1. What needs to be changed in PySide and shiboken to support Qt5? 2. What are the options for long term support? I agree that the prospect of having corporate backing for the project would be nice but unstable and probably unlikely so if we want it we need to do it. I use PySide constantly in a professional environment and although I cannot get my company to allow me to officially work to develop PySide, it is in my professional interest to keep it alive. There have been a number of pings to the list since Qt5 came out about migrating PySide that usually disappear and the impending obsolescence of Qt4 really pushes this to be serious. - Steve > On Dec 10, 2014, at 12:04 PM, William Ferreira wrote: > > John Ehresman, I was analyzing the commits the time and saw that you did much. > > I did a little post here just wondering what we can do to help this process. > > If you can guide us believe that many would like to help. > > 2014-12-10 14:56 GMT-02:00 John Ehresman : >> On 12/10/14, 11:38 AM, Florian Bruhin wrote: >> > * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> >> Hello >> >> >> >> Maybe a crowd funding to hire a full time developer should be a good idea. >> >> VLC association have done a kickstarter to fund the dev of VLC windows 8 >> >> support. >> > >> > I'd be in! >> > >> >> Is pyside currently only community driven or is there any association or >> >> company behind, that could organize that. >> > >> > According to the Wikipedia page it was released by Nokia, so probably >> > Digia / The Qt Company would be the one to contact nowadays. >> >> PySide is in the Qt repository but its development is substantially >> community driven at this point. I am the somewhat reluctant maintainer >> that hasn't been able to find much time to work on PySide recently. >> >> I don't think the VLC kickstarter is a good model for funding PySide >> development because VLC is a consumer application with many times the >> number of users as direct users of PySide (the developers using PySide, >> not the users of applications built with it). >> >> John >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside > > > > -- > William Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: From michaelkenth at gmail.com Thu Dec 11 00:53:03 2014 From: michaelkenth at gmail.com (michael h) Date: Wed, 10 Dec 2014 17:53:03 -0600 Subject: [PySide] [PyQt] user interface freezed when using concurrent.futures.ThreadPoolExecutor In-Reply-To: References: Message-ID: On Wed, Dec 10, 2014 at 12:07 AM, iMath <2281570025 at qq.com> wrote: > I think the user interface shouldn't be freezed when using > concurrent.futures.ThreadPoolExecutor here, but it doesn't meet my > expectations,anyone can explain why ? any other solutions here to not let > user interface freezed?‍ > > code is here > > http://stackoverflow.com/questions/27393533/user-interface-freezed-when-using-concurrent-futures-threadpoolexecutor > ‍ > > > _______________________________________________ > PyQt mailing list PyQt at riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > It appears: concurrent.futures.as_completed yields futures as they complete, so the main thread is blocked as it loops over this until all the futures have completed. You could use Qt's QNetworkAccessManager / QNetworkRequest, or perhaps you want something like scrapy if you're trying to crawl websites (could probably be integrated with a Qt app using qt4reactor) What are you building? - MH -------------- next part -------------- An HTML attachment was scrubbed... URL: From 2281570025 at qq.com Thu Dec 11 06:14:24 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Thu, 11 Dec 2014 13:14:24 +0800 Subject: [PySide] =?utf-8?b?5Zue5aSN77yaIFtQeVF0XSB1c2VyIGludGVyZmFjZSBm?= =?utf-8?q?reezed_when_using_concurrent=2Efutures=2EThreadPoolExecutor?= In-Reply-To: References: Message-ID: of course ,that's just an example . what I want to do is to get the direct url of a few URLs having redirections ,it would be better if this could be done asynchronously . Currently ,I am using concurrent.futures.ThreadPoolExecutor , Requests ,and QThread(for executing asynchronously ,not freeze the interface) to achieve it. ‍ ------------------ 原始邮件 ------------------ 发件人: "michael h";; 发送时间: 2014年12月11日(星期四) 上午7:53 收件人: "iMath"<2281570025 at qq.com>; 抄送: "pyqt"; "pyside"; 主题: Re: [PyQt] user interface freezed when using concurrent.futures.ThreadPoolExecutor On Wed, Dec 10, 2014 at 12:07 AM, iMath <2281570025 at qq.com> wrote: I think the user interface shouldn't be freezed when using concurrent.futures.ThreadPoolExecutor here, but it doesn't meet my expectations,anyone can explain why ? any other solutions here to not let user interface freezed?‍ code is here http://stackoverflow.com/questions/27393533/user-interface-freezed-when-using-concurrent-futures-threadpoolexecutor‍ _______________________________________________ PyQt mailing list PyQt at riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt It appears: concurrent.futures.as_completed yields futures as they complete, so the main thread is blocked as it loops over this until all the futures have completed. You could use Qt's QNetworkAccessManager / QNetworkRequest, or perhaps you want something like scrapy if you're trying to crawl websites (could probably be integrated with a Qt app using qt4reactor) What are you building? - MH -------------- next part -------------- An HTML attachment was scrubbed... URL: From toddrme2178 at gmail.com Thu Dec 11 16:49:46 2014 From: toddrme2178 at gmail.com (Todd Rme) Date: Thu, 11 Dec 2014 16:49:46 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: Taking a bit of a step back, what is currently holding Qt 5.x back from allowing completely dynamic bindings? Has anyone talked to the Qt devs to see if these pieces could be implemented? If it would be possible to avoid the binding generation step and just go straight to dynamic bindings, that would reduce the work needed to maintain PySide significantly, and would help all of the other bindings communities in the process. This might be something to look into before investing too much time or effort in creating new static bindings. On Thu, Dec 11, 2014 at 4:40 PM, Steve Payne wrote: > I think we need to have two different conversations that are related. > > 1. What needs to be changed in PySide and shiboken to support Qt5? > 2. What are the options for long term support? > > I agree that the prospect of having corporate backing for the project would > be nice but unstable and probably unlikely so if we want it we need to do > it. I use PySide constantly in a professional environment and although I > cannot get my company to allow me to officially work to develop PySide, it > is in my professional interest to keep it alive. There have been a number of > pings to the list since Qt5 came out about migrating PySide that usually > disappear and the impending obsolescence of Qt4 really pushes this to be > serious. > > - Steve > > On Dec 10, 2014, at 12:04 PM, William Ferreira > wrote: > > John Ehresman, I was analyzing the commits the time and saw that you did > much. > > I did a little post here just wondering what we can do to help this process. > > If you can guide us believe that many would like to help. > > 2014-12-10 14:56 GMT-02:00 John Ehresman : >> >> On 12/10/14, 11:38 AM, Florian Bruhin wrote: >> > * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> >> Hello >> >> >> >> Maybe a crowd funding to hire a full time developer should be a good >> >> idea. >> >> VLC association have done a kickstarter to fund the dev of VLC windows >> >> 8 >> >> support. >> > >> > I'd be in! >> > >> >> Is pyside currently only community driven or is there any association >> >> or >> >> company behind, that could organize that. >> > >> > According to the Wikipedia page it was released by Nokia, so probably >> > Digia / The Qt Company would be the one to contact nowadays. >> >> PySide is in the Qt repository but its development is substantially >> community driven at this point. I am the somewhat reluctant maintainer >> that hasn't been able to find much time to work on PySide recently. >> >> I don't think the VLC kickstarter is a good model for funding PySide >> development because VLC is a consumer application with many times the >> number of users as direct users of PySide (the developers using PySide, >> not the users of applications built with it). >> >> John >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside > > > > > -- > William Ferreira > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > From greatrgb at gmail.com Thu Dec 11 16:57:24 2014 From: greatrgb at gmail.com (Tony Barbieri) Date: Thu, 11 Dec 2014 10:57:24 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: I work in Visual Effects and there are many different applications using Qt these days with PySide bundled. This year the VES (Visual Effects Society) has started a push for companies to start following their platform guidelines for which versions of libraries should be supported within a given year. For example in 2015, Qt 4.8.x and PySide 1.2.x are still the versions they are targeting. If in 2016 Qt 5.x.x is selected then I would imagine the various software companies will want to have a PySide version that supports it. More information about the VES platform can be found here: http://www.vfxplatform.com/ A few companies using Qt in Visual Effects software are Autodesk , The Foundry and Side Fx . It would be great if they could lend some development support to help continue to push PySide forward. On Thu, Dec 11, 2014 at 10:49 AM, Todd Rme wrote: > Taking a bit of a step back, what is currently holding Qt 5.x back > from allowing completely dynamic bindings? Has anyone talked to the > Qt devs to see if these pieces could be implemented? > > If it would be possible to avoid the binding generation step and just > go straight to dynamic bindings, that would reduce the work needed to > maintain PySide significantly, and would help all of the other > bindings communities in the process. > > This might be something to look into before investing too much time or > effort in creating new static bindings. > > On Thu, Dec 11, 2014 at 4:40 PM, Steve Payne wrote: > > I think we need to have two different conversations that are related. > > > > 1. What needs to be changed in PySide and shiboken to support Qt5? > > 2. What are the options for long term support? > > > > I agree that the prospect of having corporate backing for the project > would > > be nice but unstable and probably unlikely so if we want it we need to do > > it. I use PySide constantly in a professional environment and although I > > cannot get my company to allow me to officially work to develop PySide, > it > > is in my professional interest to keep it alive. There have been a > number of > > pings to the list since Qt5 came out about migrating PySide that usually > > disappear and the impending obsolescence of Qt4 really pushes this to be > > serious. > > > > - Steve > > > > On Dec 10, 2014, at 12:04 PM, William Ferreira > > > wrote: > > > > John Ehresman, I was analyzing the commits the time and saw that you did > > much. > > > > I did a little post here just wondering what we can do to help this > process. > > > > If you can guide us believe that many would like to help. > > > > 2014-12-10 14:56 GMT-02:00 John Ehresman : > >> > >> On 12/10/14, 11:38 AM, Florian Bruhin wrote: > >> > * Stany MARCEL [2014-12-10 17:31:44 +0100]: > >> >> Hello > >> >> > >> >> Maybe a crowd funding to hire a full time developer should be a good > >> >> idea. > >> >> VLC association have done a kickstarter to fund the dev of VLC > windows > >> >> 8 > >> >> support. > >> > > >> > I'd be in! > >> > > >> >> Is pyside currently only community driven or is there any association > >> >> or > >> >> company behind, that could organize that. > >> > > >> > According to the Wikipedia page it was released by Nokia, so probably > >> > Digia / The Qt Company would be the one to contact nowadays. > >> > >> PySide is in the Qt repository but its development is substantially > >> community driven at this point. I am the somewhat reluctant maintainer > >> that hasn't been able to find much time to work on PySide recently. > >> > >> I don't think the VLC kickstarter is a good model for funding PySide > >> development because VLC is a consumer application with many times the > >> number of users as direct users of PySide (the developers using PySide, > >> not the users of applications built with it). > >> > >> John > >> > >> _______________________________________________ > >> PySide mailing list > >> PySide at qt-project.org > >> http://lists.qt-project.org/mailman/listinfo/pyside > > > > > > > > > > -- > > William Ferreira > > > > > > _______________________________________________ > > PySide mailing list > > PySide at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/pyside > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -- Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From gliblib247 at gmail.com Thu Dec 11 17:08:57 2014 From: gliblib247 at gmail.com (Steve Payne) Date: Thu, 11 Dec 2014 11:08:57 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: <8E212EB0-7568-4482-813F-8F570E9E2647@gmail.com> Are there other Python projects or libraries that use dynamic binding to C++ libraries? It would be an interesting idea but part of the problem of calling C++ directly from Python is that there is no defined calling spec for C++ like there is for C so any calls that go through a C++ library need to be wrapped in a way for Python to call them. I believe, from reading what was decided in the history of PySide was they looked into packages like sip (what PyQt uses) and SWIG but decided that the footprint for the final binaries was too big and thus wrote shiboken. Steve > On Dec 11, 2014, at 10:49 AM, Todd Rme wrote: > > Taking a bit of a step back, what is currently holding Qt 5.x back > from allowing completely dynamic bindings? Has anyone talked to the > Qt devs to see if these pieces could be implemented? > > If it would be possible to avoid the binding generation step and just > go straight to dynamic bindings, that would reduce the work needed to > maintain PySide significantly, and would help all of the other > bindings communities in the process. > > This might be something to look into before investing too much time or > effort in creating new static bindings. > > On Thu, Dec 11, 2014 at 4:40 PM, Steve Payne wrote: >> I think we need to have two different conversations that are related. >> >> 1. What needs to be changed in PySide and shiboken to support Qt5? >> 2. What are the options for long term support? >> >> I agree that the prospect of having corporate backing for the project would >> be nice but unstable and probably unlikely so if we want it we need to do >> it. I use PySide constantly in a professional environment and although I >> cannot get my company to allow me to officially work to develop PySide, it >> is in my professional interest to keep it alive. There have been a number of >> pings to the list since Qt5 came out about migrating PySide that usually >> disappear and the impending obsolescence of Qt4 really pushes this to be >> serious. >> >> - Steve >> >> On Dec 10, 2014, at 12:04 PM, William Ferreira >> wrote: >> >> John Ehresman, I was analyzing the commits the time and saw that you did >> much. >> >> I did a little post here just wondering what we can do to help this process. >> >> If you can guide us believe that many would like to help. >> >> 2014-12-10 14:56 GMT-02:00 John Ehresman : >>> >>> On 12/10/14, 11:38 AM, Florian Bruhin wrote: >>>> * Stany MARCEL [2014-12-10 17:31:44 +0100]: >>>>> Hello >>>>> >>>>> Maybe a crowd funding to hire a full time developer should be a good >>>>> idea. >>>>> VLC association have done a kickstarter to fund the dev of VLC windows >>>>> 8 >>>>> support. >>>> >>>> I'd be in! >>>> >>>>> Is pyside currently only community driven or is there any association >>>>> or >>>>> company behind, that could organize that. >>>> >>>> According to the Wikipedia page it was released by Nokia, so probably >>>> Digia / The Qt Company would be the one to contact nowadays. >>> >>> PySide is in the Qt repository but its development is substantially >>> community driven at this point. I am the somewhat reluctant maintainer >>> that hasn't been able to find much time to work on PySide recently. >>> >>> I don't think the VLC kickstarter is a good model for funding PySide >>> development because VLC is a consumer application with many times the >>> number of users as direct users of PySide (the developers using PySide, >>> not the users of applications built with it). >>> >>> John >>> >>> _______________________________________________ >>> PySide mailing list >>> PySide at qt-project.org >>> http://lists.qt-project.org/mailman/listinfo/pyside >> >> >> >> >> -- >> William Ferreira >> >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside From jpe at wingware.com Thu Dec 11 17:13:16 2014 From: jpe at wingware.com (John Ehresman) Date: Thu, 11 Dec 2014 11:13:16 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: <5489C29C.6030507@wingware.com> On 12/11/14, 10:49 AM, Todd Rme wrote: > Taking a bit of a step back, what is currently holding Qt 5.x back > from allowing completely dynamic bindings? Has anyone talked to the > Qt devs to see if these pieces could be implemented? Qt 5.x support is mostly a matter of making changes to compile against Qt5, do the split of the QtGui, go through deprecated and new classes & methods, etc. It's a substantial amount of work but should be relatively straightforward. I don't know what, if anything, could be changed in Qt to make things easier given the need to maintain backward compatibility in Qt. Related but orthogonal is fixing a number of serious bugs that stem from assumptions that shiboken makes about object lifetime. This is what motivates the desire to either fix shiboken or move to another binding tool. I think what PySide needs is a small group of developers to work on it. There is a developer mailing list at pyside-dev at googlegroups.com and I think we should discuss how development should move forward. Note that to contribute to the PySide core, a knowledge of C++ and the Python C api or the willingness to learn them is required. John From pankaj86 at gmail.com Thu Dec 11 17:13:25 2014 From: pankaj86 at gmail.com (pankaj pandey) Date: Thu, 11 Dec 2014 21:43:25 +0530 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: Its good to see revival of Qt5 support interest. On Thu, Dec 11, 2014 at 9:27 PM, Tony Barbieri wrote: > I work in Visual Effects and there are many different applications using Qt > these days with PySide bundled. This year the VES (Visual Effects Society) > has started a push for companies to start following their platform > guidelines for which versions of libraries should be supported within a > given year. For example in 2015, Qt 4.8.x and PySide 1.2.x are still the > versions they are targeting. If in 2016 Qt 5.x.x is selected then I would > imagine the various software companies will want to have a PySide version > that supports it. > > More information about the VES platform can be found here: > http://www.vfxplatform.com/ > > A few companies using Qt in Visual Effects software are Autodesk, The > Foundry and Side Fx. It would be great if they could lend some development > support to help continue to push PySide forward. Yes, it would be really helpful if some entities interested in PySide can get together and decide to do something. Its not something which a few volunteers or a single company can do. I know John Ehresman started some experiments on way of simplifying shiboken bindings generation in April ( https://bitbucket.org/jpe/experimental-pyshiboken ), and probably hasn't got time for that since. I also experimented with smoke based dynamic bindings last year ( https://github.com/pankajp/pysmoke ), but again free time is scarce. I think all of us who can contribute via code should put up a plan and get something started. It is easier to contribute to existing work than start afresh, we we might even gather new contributors. With some initial progress visible, it might also be easier to pitch in a plan for pyside using companies to sponsor the work. > On Thu, Dec 11, 2014 at 10:49 AM, Todd Rme wrote: >> >> Taking a bit of a step back, what is currently holding Qt 5.x back >> from allowing completely dynamic bindings? Has anyone talked to the >> Qt devs to see if these pieces could be implemented? >> >> If it would be possible to avoid the binding generation step and just >> go straight to dynamic bindings, that would reduce the work needed to >> maintain PySide significantly, and would help all of the other >> bindings communities in the process. >> >> This might be something to look into before investing too much time or >> effort in creating new static bindings. >> On Thu, Dec 11, 2014 at 4:40 PM, Steve Payne wrote: >> > I think we need to have two different conversations that are related. >> > >> > 1. What needs to be changed in PySide and shiboken to support Qt5? >> > 2. What are the options for long term support? >> > >> > I agree that the prospect of having corporate backing for the project >> > would >> > be nice but unstable and probably unlikely so if we want it we need to >> > do >> > it. I use PySide constantly in a professional environment and although I >> > cannot get my company to allow me to officially work to develop PySide, >> > it >> > is in my professional interest to keep it alive. There have been a >> > number of >> > pings to the list since Qt5 came out about migrating PySide that usually >> > disappear and the impending obsolescence of Qt4 really pushes this to be >> > serious. >> > >> > - Steve >> > >> > On Dec 10, 2014, at 12:04 PM, William Ferreira >> > >> > wrote: >> > >> > John Ehresman, I was analyzing the commits the time and saw that you did >> > much. >> > >> > I did a little post here just wondering what we can do to help this >> > process. >> > >> > If you can guide us believe that many would like to help. >> > >> > 2014-12-10 14:56 GMT-02:00 John Ehresman : >> >> >> >> On 12/10/14, 11:38 AM, Florian Bruhin wrote: >> >> > * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> >> >> Hello >> >> >> >> >> >> Maybe a crowd funding to hire a full time developer should be a good >> >> >> idea. >> >> >> VLC association have done a kickstarter to fund the dev of VLC >> >> >> windows >> >> >> 8 >> >> >> support. >> >> > >> >> > I'd be in! >> >> > >> >> >> Is pyside currently only community driven or is there any >> >> >> association >> >> >> or >> >> >> company behind, that could organize that. >> >> > >> >> > According to the Wikipedia page it was released by Nokia, so probably >> >> > Digia / The Qt Company would be the one to contact nowadays. >> >> >> >> PySide is in the Qt repository but its development is substantially >> >> community driven at this point. I am the somewhat reluctant maintainer >> >> that hasn't been able to find much time to work on PySide recently. >> >> >> >> I don't think the VLC kickstarter is a good model for funding PySide >> >> development because VLC is a consumer application with many times the >> >> number of users as direct users of PySide (the developers using PySide, >> >> not the users of applications built with it). >> >> >> >> John >> >> >> >> _______________________________________________ >> >> PySide mailing list >> >> PySide at qt-project.org >> >> http://lists.qt-project.org/mailman/listinfo/pyside >> > >> > >> > >> > >> > -- >> > William Ferreira >> > >> > >> > _______________________________________________ >> > PySide mailing list >> > PySide at qt-project.org >> > http://lists.qt-project.org/mailman/listinfo/pyside >> > >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside > > > > > -- > Tony > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > From mikw at imagineersystems.com Thu Dec 11 17:47:17 2014 From: mikw at imagineersystems.com (Mik Wells) Date: Thu, 11 Dec 2014 16:47:17 -0000 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> Message-ID: <061c01d01562$2034bd90$609e38b0$@imagineersystems.com> In case anyone is interested, the current date from Digia for when support for Qt4.8 will be dropped is December 19, 2015. This is not far away. Mik Wells From: Steve Payne [mailto:gliblib247 at gmail.com] Sent: 11 December 2014 15:41 To: pyside at qt-project.org Subject: Re: [PySide] Let's get serious for Pyside to support Qt5 I think we need to have two different conversations that are related. 1. What needs to be changed in PySide and shiboken to support Qt5? 2. What are the options for long term support? I agree that the prospect of having corporate backing for the project would be nice but unstable and probably unlikely so if we want it we need to do it. I use PySide constantly in a professional environment and although I cannot get my company to allow me to officially work to develop PySide, it is in my professional interest to keep it alive. There have been a number of pings to the list since Qt5 came out about migrating PySide that usually disappear and the impending obsolescence of Qt4 really pushes this to be serious. - Steve On Dec 10, 2014, at 12:04 PM, William Ferreira wrote: John Ehresman, I was analyzing the commits the time and saw that you did much. I did a little post here just wondering what we can do to help this process. If you can guide us believe that many would like to help. 2014-12-10 14:56 GMT-02:00 John Ehresman : On 12/10/14, 11:38 AM, Florian Bruhin wrote: > * Stany MARCEL [2014-12-10 17:31:44 +0100]: >> Hello >> >> Maybe a crowd funding to hire a full time developer should be a good idea. >> VLC association have done a kickstarter to fund the dev of VLC windows 8 >> support. > > I'd be in! > >> Is pyside currently only community driven or is there any association or >> company behind, that could organize that. > > According to the Wikipedia page it was released by Nokia, so probably > Digia / The Qt Company would be the one to contact nowadays. PySide is in the Qt repository but its development is substantially community driven at this point. I am the somewhat reluctant maintainer that hasn't been able to find much time to work on PySide recently. I don't think the VLC kickstarter is a good model for funding PySide development because VLC is a consumer application with many times the number of users as direct users of PySide (the developers using PySide, not the users of applications built with it). John _______________________________________________ PySide mailing list PySide at qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside -- William Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: From gliblib247 at gmail.com Thu Dec 11 17:48:55 2014 From: gliblib247 at gmail.com (Steve Payne) Date: Thu, 11 Dec 2014 11:48:55 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <5489C29C.6030507@wingware.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> Message-ID: <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> John, as the current maintainer, would you be willing to start the conversation on the pyside-dev list? I am in for being a contributor and it was my intention to start working through the typesystem definition files for Qt5. Steve > On Dec 11, 2014, at 11:13 AM, John Ehresman wrote: > > On 12/11/14, 10:49 AM, Todd Rme wrote: >> Taking a bit of a step back, what is currently holding Qt 5.x back >> from allowing completely dynamic bindings? Has anyone talked to the >> Qt devs to see if these pieces could be implemented? > > Qt 5.x support is mostly a matter of making changes to compile against > Qt5, do the split of the QtGui, go through deprecated and new classes & > methods, etc. It's a substantial amount of work but should be > relatively straightforward. I don't know what, if anything, could be > changed in Qt to make things easier given the need to maintain backward > compatibility in Qt. > > Related but orthogonal is fixing a number of serious bugs that stem from > assumptions that shiboken makes about object lifetime. This is what > motivates the desire to either fix shiboken or move to another binding tool. > > I think what PySide needs is a small group of developers to work on it. > There is a developer mailing list at pyside-dev at googlegroups.com and I > think we should discuss how development should move forward. Note that > to contribute to the PySide core, a knowledge of C++ and the Python C > api or the willingness to learn them is required. > > John > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside From elcorreo at deshackra.com Thu Dec 11 22:02:08 2014 From: elcorreo at deshackra.com (Jorge Araya Navarro) Date: Thu, 11 Dec 2014 15:02:08 -0600 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <5489C29C.6030507@wingware.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> Message-ID: <87fvclq4rz.fsf@deshackra.com> John Ehresman writes: > Related but orthogonal is fixing a number of serious bugs that stem from > assumptions that shiboken makes about object lifetime. This is what > motivates the desire to either fix shiboken or move to another binding tool. If I'm not wrong, it was discussed that the project should use other binding tool... or at least that's what I can remember reading on this email list in the past. -- Pax et bonum. Jorge Araya Navarro. ES: Diseñador Publicitario, Programador Python y colaborador en Parabola GNU/Linux-libre EN: Ads Designer, Python programmer and contributor Parabola GNU/Linux-libre EO: Anonco grafikisto, Pitino programalingvo programisto kai kontribuanto en Parabola GNU/Linux-libre https://es.gravatar.com/shackra From jpe at wingware.com Thu Dec 11 23:01:13 2014 From: jpe at wingware.com (John Ehresman) Date: Thu, 11 Dec 2014 17:01:13 -0500 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> Message-ID: <548A1429.6070903@wingware.com> On 12/11/14, 11:48 AM, Steve Payne wrote: > John, as the current maintainer, would you be willing to start the conversation on the pyside-dev list? I am in for being a contributor and it was my intention to start working through the typesystem definition files for Qt5. I just posted a high level overview on pyside-dev at googlegroups.com Thanks, John From tismer at stackless.com Fri Dec 12 19:57:37 2014 From: tismer at stackless.com (Christian Tismer) Date: Fri, 12 Dec 2014 19:57:37 +0100 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <548A1429.6070903@wingware.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> <548A1429.6070903@wingware.com> Message-ID: <548B3AA1.4090002@stackless.com> On 11.12.14 23:01, John Ehresman wrote: > On 12/11/14, 11:48 AM, Steve Payne wrote: >> John, as the current maintainer, would you be willing to start the conversation on the pyside-dev list? I am in for being a contributor and it was my intention to start working through the typesystem definition files for Qt5. > I just posted a high level overview on pyside-dev at googlegroups.com > Great, thanks for your work! Is there an email interface to pyside-dev at googlegroups.com? cheers - Chris -- Christian Tismer :^) tismer at stackless.com Software Consulting : http://www.stackless.com/ Karl-Liebknecht-Str. 121 : http://www.pydica.net/ 14482 Potsdam : GPG key -> 0xFB7BEE0E phone +49 173 24 18 776 fax +49 (30) 700143-0023 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 536 bytes Desc: OpenPGP digital signature URL: From sean at seanfisk.com Sat Dec 13 06:02:47 2014 From: sean at seanfisk.com (Sean Fisk) Date: Sat, 13 Dec 2014 00:02:47 -0500 Subject: [PySide] =?utf-8?b?5Zue5aSN77yaIFtQeVF0XSB1c2VyIGludGVyZmFjZSBm?= =?utf-8?q?reezed_when_using_concurrent=2Efutures=2EThreadPoolExecu?= =?utf-8?q?tor?= In-Reply-To: References: Message-ID: Hi iMath, I'm convinced that the best way to do this is to use QNetworkAccessManager. It's more efficient (I think) because QNAM uses asynchronous I/O instead of just blocking in a thread. Furthermore, concurrent.futures does not execute callbacks in the main thread so a hack of sorts is necessary to get the data back to the GUI. We are doing something similar in our application and are in the process of moving from Requests/concurrent.futures to QNetworkAccessManager. If you would like some example code, either for Requests/futures or QNAM, just let me know and I will polish it up and post it. Sincerely, -- Sean Fisk On Thu, Dec 11, 2014 at 12:14 AM, iMath <2281570025 at qq.com> wrote: > > of course ,that's just an example . > what I want to do is to get the direct url of a few URLs having > redirections ,it would be better if this could be done asynchronously . > Currently ,I am using concurrent.futures.ThreadPoolExecutor , Requests > ,and QThread(for executing asynchronously ,not freeze the interface) to > achieve it. > ‍ > > ------------------ 原始邮件 ------------------ > *发件人:* "michael h";; > *发送时间:* 2014年12月11日(星期四) 上午7:53 > *收件人:* "iMath"<2281570025 at qq.com>; > *抄送:* "pyqt"; "pyside"; > > *主题:* Re: [PyQt] user interface freezed when using > concurrent.futures.ThreadPoolExecutor > > > On Wed, Dec 10, 2014 at 12:07 AM, iMath <2281570025 at qq.com> wrote: > >> I think the user interface shouldn't be freezed when using >> concurrent.futures.ThreadPoolExecutor here, but it doesn't meet my >> expectations,anyone can explain why ? any other solutions here to not let >> user interface freezed?‍ >> >> code is here >> >> http://stackoverflow.com/questions/27393533/user-interface-freezed-when-using-concurrent-futures-threadpoolexecutor >> ‍ >> >> >> _______________________________________________ >> PyQt mailing list PyQt at riverbankcomputing.com >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > > It appears: concurrent.futures.as_completed yields futures as they > complete, so the main thread is blocked as it loops over this until all the > futures have completed. > > You could use Qt's QNetworkAccessManager / QNetworkRequest, or perhaps you > want something like scrapy if you're trying to crawl websites (could > probably be integrated with a Qt app using qt4reactor) > > What are you building? > > - MH > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jf_byrnes at comcast.net Sat Dec 13 21:55:18 2014 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Sat, 13 Dec 2014 14:55:18 -0600 Subject: [PySide] Error on Ubuntu but not Windows Message-ID: I am running Ubuntu 12.04, PySide 1.2.2. I am just getting started with PySide and have been watching a series of video tutorials. In the video on threading there is the following program. from PySide.QtCore import * from PySide.QtGui import * import sys import showGui import time import showGui class MainDialog(QDialog, showGui.Ui_mainDialog): def __init__(self, parent=None): super(MainDialog, self).__init__(parent) self.setupUi(self) self.showButton.setText("Process") self.connect(self.showButton, SIGNAL("clicked()"), self.processData) self.workerThread = WorkerThread() self.connect(self.workerThread, SIGNAL("threadDone(QString, QString)"), self.threadDone, Qt.DirectConnection) def processData(self): self.workerThread.start() QMessageBox.information(self, "Done!", "Done.") def threadDone(self, text, text2): # Does not work. Gives pixmaps error #QMessageBox.warning(self, "Warning!", "Thread execution completed!") # Works as expected self.nameEdit.setText("Worker thread finished processing.") print text print text2 class WorkerThread(QThread): def __init__(self, parent=None): super(WorkerThread, self).__init__(parent) def run(self): time.sleep(3) self.emit(SIGNAL("threadDone(QString, QString)"), "Confirmation that the thread is finished.", "Another confirmation that the thread has been compledted.") app = QApplication(sys.argv) form = MainDialog() form.show() app.exec_() In the threadDone method uncommenting the QMessageBox line produces the following error message: QObject::setParent: Cannot set parent, new parent is in a different thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread X Error: BadImplementation (server does not implement operation) 17 Major opcode: 20 (X_GetProperty) Resource id: 0x0 [xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. python2.7: ../../src/xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. Process finished with exit code 134 In the video the presenter is running Windows 8 and it worked for him. Is this a known problem or am I just doing something wrong? I don't have a window machine to try it locally. Thanks, Jim From sean at seanfisk.com Sat Dec 13 22:47:40 2014 From: sean at seanfisk.com (Sean Fisk) Date: Sat, 13 Dec 2014 16:47:40 -0500 Subject: [PySide] Error on Ubuntu but not Windows In-Reply-To: References: Message-ID: Hi Jim, I believe the issue is that the signal and slot are connected with the Direct Connection type. This causes the threadDone() method to be invoked in the worker’s thread, which, as stated by the error, results in unsafe behavior when accessing GUI elements. The default is Auto Connection for a reason — it usually auto-selects the best choice. See here for all types of signal-slot connections. I believe that it might work even with Direct Connection on Windows. However, it’s important to remember that *the fact that it works does not mean it’s correct*. I don’t think this would cause the error, but I would also highly recommend switching to the new syntax for signals and slots . For quite complete guides on threading in Qt, see Threading Basics and Threads, Events, and QObjects . I hope this helps. Let me know if it works for you. Cheers, ​ -- Sean Fisk On Sat, Dec 13, 2014 at 3:55 PM, Jim Byrnes wrote: > > I am running Ubuntu 12.04, PySide 1.2.2. > > I am just getting started with PySide and have been watching a series of > video tutorials. In the video on threading there is the following program. > > from PySide.QtCore import * > from PySide.QtGui import * > import sys > import showGui > import time > import showGui > > class MainDialog(QDialog, showGui.Ui_mainDialog): > > def __init__(self, parent=None): > super(MainDialog, self).__init__(parent) > self.setupUi(self) > > self.showButton.setText("Process") > self.connect(self.showButton, SIGNAL("clicked()"), > self.processData) > > self.workerThread = WorkerThread() > self.connect(self.workerThread, SIGNAL("threadDone(QString, > QString)"), self.threadDone, Qt.DirectConnection) > > def processData(self): > self.workerThread.start() > QMessageBox.information(self, "Done!", "Done.") > > def threadDone(self, text, text2): > # Does not work. Gives pixmaps error > #QMessageBox.warning(self, "Warning!", "Thread execution > completed!") > # Works as expected > self.nameEdit.setText("Worker thread finished processing.") > print text > print text2 > > class WorkerThread(QThread): > > def __init__(self, parent=None): > super(WorkerThread, self).__init__(parent) > > def run(self): > time.sleep(3) > self.emit(SIGNAL("threadDone(QString, QString)"), "Confirmation > that the thread is finished.", "Another confirmation that the thread has > been compledted.") > > app = QApplication(sys.argv) > form = MainDialog() > form.show() > app.exec_() > > In the threadDone method uncommenting the QMessageBox line produces the > following error message: > > QObject::setParent: Cannot set parent, new parent is in a different thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > QPixmap: It is not safe to use pixmaps outside the GUI thread > X Error: BadImplementation (server does not implement operation) 17 > Major opcode: 20 (X_GetProperty) > Resource id: 0x0 > [xcb] Unknown sequence number while processing queue > [xcb] Most likely this is a multi-threaded client and XInitThreads has > not been called > [xcb] Aborting, sorry about that. > python2.7: ../../src/xcb_io.c:274: poll_for_event: Assertion > `!xcb_xlib_threads_sequence_lost' failed. > > Process finished with exit code 134 > > In the video the presenter is running Windows 8 and it worked for him. > Is this a known problem or am I just doing something wrong? I don't > have a window machine to try it locally. > > Thanks, Jim > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jf_byrnes at comcast.net Sun Dec 14 18:13:43 2014 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Sun, 14 Dec 2014 11:13:43 -0600 Subject: [PySide] Error on Ubuntu but not Windows In-Reply-To: References: Message-ID: <548DC547.8070809@comcast.net> On 12/13/2014 03:47 PM, Sean Fisk wrote: > Hi Jim, > > I believe the issue is that the signal and slot are connected with the > Direct Connection type. This causes the threadDone() method to be invoked > in the worker’s thread, which, as stated by the error, results in unsafe > behavior when accessing GUI elements. The default is Auto Connection for a > reason — it usually auto-selects the best choice. See here > > for all types of signal-slot connections. > > I believe that it might work even with Direct Connection on Windows. > However, it’s important to remember that *the fact that it works does not > mean it’s correct*. > > I don’t think this would cause the error, but I would also highly recommend > switching to the new syntax for signals and slots > . > For quite complete guides on threading in Qt, see Threading Basics > > and Threads, Events, and QObjects > . > > I hope this helps. Let me know if it works for you. > > Cheers, > -- > Sean Fisk Sean, Thanks for the explanation, it now works. As to using the old style signals & slots syntax. The videos have come out over a couple of years and the author says he will cover the new style signals & slots syntax in an upcoming video. Regards, Jim > On Sat, Dec 13, 2014 at 3:55 PM, Jim Byrnes wrote: >> >> I am running Ubuntu 12.04, PySide 1.2.2. >> >> I am just getting started with PySide and have been watching a series of >> video tutorials. In the video on threading there is the following program. >> >> from PySide.QtCore import * >> from PySide.QtGui import * >> import sys >> import showGui >> import time >> import showGui >> >> class MainDialog(QDialog, showGui.Ui_mainDialog): >> >> def __init__(self, parent=None): >> super(MainDialog, self).__init__(parent) >> self.setupUi(self) >> >> self.showButton.setText("Process") >> self.connect(self.showButton, SIGNAL("clicked()"), >> self.processData) >> >> self.workerThread = WorkerThread() >> self.connect(self.workerThread, SIGNAL("threadDone(QString, >> QString)"), self.threadDone, Qt.DirectConnection) >> >> def processData(self): >> self.workerThread.start() >> QMessageBox.information(self, "Done!", "Done.") >> >> def threadDone(self, text, text2): >> # Does not work. Gives pixmaps error >> #QMessageBox.warning(self, "Warning!", "Thread execution >> completed!") >> # Works as expected >> self.nameEdit.setText("Worker thread finished processing.") >> print text >> print text2 >> >> class WorkerThread(QThread): >> >> def __init__(self, parent=None): >> super(WorkerThread, self).__init__(parent) >> >> def run(self): >> time.sleep(3) >> self.emit(SIGNAL("threadDone(QString, QString)"), "Confirmation >> that the thread is finished.", "Another confirmation that the thread has >> been compledted.") >> >> app = QApplication(sys.argv) >> form = MainDialog() >> form.show() >> app.exec_() >> >> In the threadDone method uncommenting the QMessageBox line produces the >> following error message: >> >> QObject::setParent: Cannot set parent, new parent is in a different thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> QPixmap: It is not safe to use pixmaps outside the GUI thread >> X Error: BadImplementation (server does not implement operation) 17 >> Major opcode: 20 (X_GetProperty) >> Resource id: 0x0 >> [xcb] Unknown sequence number while processing queue >> [xcb] Most likely this is a multi-threaded client and XInitThreads has >> not been called >> [xcb] Aborting, sorry about that. >> python2.7: ../../src/xcb_io.c:274: poll_for_event: Assertion >> `!xcb_xlib_threads_sequence_lost' failed. >> >> Process finished with exit code 134 >> >> In the video the presenter is running Windows 8 and it worked for him. >> Is this a known problem or am I just doing something wrong? I don't >> have a window machine to try it locally. >> >> Thanks, Jim >> >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > From pankaj86 at gmail.com Mon Dec 15 08:06:53 2014 From: pankaj86 at gmail.com (pankaj pandey) Date: Mon, 15 Dec 2014 12:36:53 +0530 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: <548B3AA1.4090002@stackless.com> References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> <548A1429.6070903@wingware.com> <548B3AA1.4090002@stackless.com> Message-ID: On Sat, Dec 13, 2014 at 12:27 AM, Christian Tismer wrote: > On 11.12.14 23:01, John Ehresman wrote: >> On 12/11/14, 11:48 AM, Steve Payne wrote: >>> John, as the current maintainer, would you be willing to start the conversation on the pyside-dev list? I am in for being a contributor and it was my intention to start working through the typesystem definition files for Qt5. >> I just posted a high level overview on pyside-dev at googlegroups.com >> > > Great, thanks for your work! > Is there an email interface to pyside-dev at googlegroups.com? In https://groups.google.com/forum/#!forum/pyside-dev top-right area, there is a "My Settings" button which has "Membership and Email settings". Not sure if it needs a google login. Cheers, - Pankaj > cheers - Chris > > -- > Christian Tismer :^) tismer at stackless.com > Software Consulting : http://www.stackless.com/ > Karl-Liebknecht-Str. 121 : http://www.pydica.net/ > 14482 Potsdam : GPG key -> 0xFB7BEE0E > phone +49 173 24 18 776 fax +49 (30) 700143-0023 > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > From 2281570025 at qq.com Mon Dec 15 04:39:13 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Mon, 15 Dec 2014 11:39:13 +0800 Subject: [PySide] cannot expand the progress bar to the full width of status bar Message-ID: I want the progress bar to expand to the full width of status bar,but why there is a gap there? Is there a widget there or something else ?‍ some code here http://stackoverflow.com/questions/27476894/cannot-expand-the-progress-bar-to-the-full-width-of-status-bar‍ PS. can I add some text on the progress bar,there is no function like setText(), how can I do this ?‍ -------------- next part -------------- An HTML attachment was scrubbed... URL: From 2281570025 at qq.com Fri Dec 19 11:58:59 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Fri, 19 Dec 2014 18:58:59 +0800 Subject: [PySide] =?utf-8?q?place_text_in_the_middle_of_QProgressBar_when_?= =?utf-8?q?setRange=280=2C_0=29_on_Windows=EF=BC=9F?= Message-ID: how to place text(not just number) in the middle of QProgressBar when setRange(0, 0) on Windows?‍ -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Fri Dec 19 12:10:54 2014 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 19 Dec 2014 12:10:54 +0100 Subject: [PySide] =?utf-8?q?place_text_in_the_middle_of_QProgressBar_when_?= =?utf-8?q?setRange=280=2C_0=29_on_Windows=EF=BC=9F?= In-Reply-To: Message-ID: <20141219111054.GE445@tonks> I already told you multiple times, and I'll try again: Can you PLEASE STOP cross-posting irrelevant Qt questions on two lists (PyQt/PySide) about Qt BINDINGS, and use some channel which is actually for Qt questions, such as multiple forums which exist? I really don't want to be rude, but the noise is annoying. If this doesn't help, could the respective list admins consider removing that person from the lists? Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From 2281570025 at qq.com Sun Dec 21 15:56:42 2014 From: 2281570025 at qq.com (=?utf-8?B?aU1hdGg=?=) Date: Sun, 21 Dec 2014 22:56:42 +0800 Subject: [PySide] can time.sleep(secs) suspend QNetworkAccessManager does request asynchronously? Message-ID: while QNetworkAccessManager can do requests asynchronously, and time.sleep(secs) can suspend execution for the given number of seconds, then I was confused by the following code,does t2 here always greater then 10s here? Regardless the affecting factors for time.sleep(secs) mentioned in Python document , and suppose the time from sending request to getting the result without time.sleep(10) in the code here ,i.e. the finished slot getWebPageSRC was called is fixed,equals 3s. P.S. I have tested a few times , found t2 always greater then 10s, anyone can explain why ?‍ the question also posted here reply.finished.connect(self.getWebPageSRC) self.t=time.clock() time.sleep(10) def getWebPageSRC(self): t2=time.clock()-self.t print(t2) -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter_karasev at keysight.com Sun Dec 28 21:24:24 2014 From: peter_karasev at keysight.com (peter_karasev at keysight.com) Date: Sun, 28 Dec 2014 20:24:24 +0000 Subject: [PySide] Let's get serious for Pyside to support Qt5 In-Reply-To: References: <20141210163851.GO445@tonks> <54887B31.7060200@wingware.com> <5489C29C.6030507@wingware.com> <86C5F1E5-2913-46D0-969F-FD80E3C3331A@gmail.com> <548A1429.6070903@wingware.com> <548B3AA1.4090002@stackless.com>, Message-ID: <0FDFE781C3033D44AA32DE14D9BFBD06135AAF53@wcosexch01k.cos.is.keysight.com> My company encourages us to produce modular, robust solutions, which is epitomized by developers contributing to something like PySide. So, I and at least another developer + an intern could contribute some solid effort to this. We have a ton of deployed stuff using PySide + QT 4.8.x so something has to be done. The main choices are: fix pyside/shiboken, switch to PyQT, **write our own boost-python wrappers for parts of QT that we need**, switch to js/webgl. (** denotes the current most likely route) Can the whole shiboken-instead-of-boost-python thing be revisited? It is a huge PITA to interface through shiboken when you have a C++ application using QT and you provide some boost-python wrappers or have legacy C-python wrappers for domain-specific code. The way shiboken+pyside are structured now, you are in for a world of pain when embedding python in a native QT application as opposed to driving the app from python scripts. If PySide could just use boost more intelligently to keep builds manageable in size/time, it would: (a) alleviate the issues with native app using embedded python with pyside plus some other wrapper for non-qt code, (b) allow more people to contribute since boost has a pretty large developer base. (c) make it easier to generate wrappers for custom classes that inherit from QT classes. _______________________ regards, peter karasev ________________________________________ From: pyside-bounces+peter_karasev=keysight.com at qt-project.org [pyside-bounces+peter_karasev=keysight.com at qt-project.org] on behalf of pankaj pandey [pankaj86 at gmail.com] Sent: Sunday, December 14, 2014 23:06 To: Christian Tismer Cc: pyside at qt-project.org Subject: Re: [PySide] Let's get serious for Pyside to support Qt5 On Sat, Dec 13, 2014 at 12:27 AM, Christian Tismer wrote: > On 11.12.14 23:01, John Ehresman wrote: >> On 12/11/14, 11:48 AM, Steve Payne wrote: >>> John, as the current maintainer, would you be willing to start the conversation on the pyside-dev list? I am in for being a contributor and it was my intention to start working through the typesystem definition files for Qt5. >> I just posted a high level overview on pyside-dev at googlegroups.com >> > > Great, thanks for your work! > Is there an email interface to pyside-dev at googlegroups.com? In https://groups.google.com/forum/#!forum/pyside-dev top-right area, there is a "My Settings" button which has "Membership and Email settings". Not sure if it needs a google login. Cheers, - Pankaj > cheers - Chris > > -- > Christian Tismer :^) tismer at stackless.com > Software Consulting : http://www.stackless.com/ > Karl-Liebknecht-Str. 121 : http://www.pydica.net/ > 14482 Potsdam : GPG key -> 0xFB7BEE0E > phone +49 173 24 18 776 fax +49 (30) 700143-0023 > > > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > _______________________________________________ PySide mailing list PySide at qt-project.org http://lists.qt-project.org/mailman/listinfo/pyside