From joel at kiwistrawberry.us Thu May 1 12:12:18 2014 From: joel at kiwistrawberry.us (Joel B. Mohler) Date: Thu, 01 May 2014 06:12:18 -0400 Subject: [PySide] PySide 1.2.2 released In-Reply-To: <53611FDE.5000207@wingware.com> References: <53611FDE.5000207@wingware.com> Message-ID: <53621E02.9000504@kiwistrawberry.us> On 04/30/2014 12:07 PM, John Ehresman wrote: > I'm happy to announce the release of PySide 1.2.2, which is available at > https://pypi.python.org/pypi/PySide/1.2.2 Shiboken 1.2.2 was also > released and is at https://pypi.python.org/pypi/Shiboken/1.2.2 > > The most significant changes in the release are support for Python 3.4 > and for compiling on OS X 10.9. Also new are binary distributions of > PySide for OS X contributed by Christian Tismer and a binary > distribution of Shiboken for Windows contributed by Roman Lacko. > > Questions / feedback may be sent to the pyside mailing list at > pyside at qt-project.org > > Thanks goes to Roman Lacko, Christian Tismer, John Cummings, and Matthew > Woehlke. Thank you gentlemen for going through the patches and building on all the platforms. I'm looking forward to much more happy PySide'ing. Joel From michael.slater at gmail.com Sat May 3 17:02:47 2014 From: michael.slater at gmail.com (Michael Slater) Date: Sat, 3 May 2014 23:02:47 +0800 Subject: [PySide] pyside and pycharm Message-ID: <3B93EFC2-BC0E-475E-A6C9-954D34B1C9A0@gmail.com> I made a simple 'pst.py' (hello world) program inside Pycharm. When I run it, it crashes with: "Qt internal error: qt_menu.nib could not be loaded. The .nib file should be placed in QtGui.framework/Versions/Current/Resources/ or in the resources directory of your application bundle." Inside PyCharm, from an Python Console, all the modules look available: >>> print(PySide.QtCore.qVersion()) 4.7.4 >>> print(PySide.__version__) 1.1.2 So I went to the terminal and tried running the same program from the command line using 'python.app' and 'pythonw.' The program worked fine using both {{python.app}} and {{pythonw}} If I used just {{python pst.py}}, I got the same crash. vt102:dBaseProject sloter$ python.app pst.py vt102:dBaseProject sloter$ which python.app /Users/sloter/anaconda/bin/python.app vt102:dBaseProject sloter$ pythonw pst.py vt102:dBaseProject sloter$ which pythonw /Users/sloter/anaconda/bin/pythonw I think that PyCharm IDE is using the same path (Users/sloter/anaconda/bin/) for the Python interpreter. I watched a youtube video where a guy wrote a very similar program inside PyCharm and then ran inside Pycharm and things worked fine. So any ideas what I need to change to enable me to develop PySide/QT program entirely inside PyCharm? Thanks ps here's the cost for 'pst.py' that I tried to run {{#!/Users/sloter/anaconda/bin/python # Import PySide classes import sys from PySide.QtCore import * from PySide.QtGui import * # Create a Qt application app = QApplication(sys.argv) # Create a Label and show it label = QLabel("Hello World") label.show() # Enter Qt application main loop app.exec_() sys.exit()}} From joaojonesventura at gmail.com Wed May 7 18:57:22 2014 From: joaojonesventura at gmail.com (=?ISO-8859-1?Q?Jo=E3o_Ventura?=) Date: Wed, 07 May 2014 17:57:22 +0100 Subject: [PySide] Another Qt5 ETA question.. Message-ID: <536A65F2.7080804@gmail.com> Hi there, are there any efforts being made by PySide members about Qt5? In another thread (http://lists.qt-project.org/pipermail/pyside/2014-April/002030.html) Christian Tismer mentioned that he was starting over on PySide 5, so is anything being discussed somewhere? I've been using PySide since 0.x versions, wrote some tutorials in the PySide wiki, and PySide/Qt4 has served me fine so far, but I'm needing some "Retina" support for my next project(s). Small things, such as "retina" support on QPixmaps and other things like that only seem available in Qt5.. QtQuick/PyOtherSide in Qt5 is an alternative but I (and as it seems, the majority of people in the business) still prefer imperative programming, and PyQt5 annual licence is not an option for some of us. I'm willing to participate (with code, not only with "talk") in a collaborative effort to bring PySide to Qt5, anyone cares to point the direction? Thanks, João Ventura From jpe at wingware.com Mon May 12 16:43:45 2014 From: jpe at wingware.com (John Ehresman) Date: Mon, 12 May 2014 10:43:45 -0400 Subject: [PySide] Another Qt5 ETA question.. In-Reply-To: <536A65F2.7080804@gmail.com> References: <536A65F2.7080804@gmail.com> Message-ID: <5370DE21.1000308@wingware.com> On 5/7/14, 12:57 PM, João Ventura wrote: > Hi there, > > are there any efforts being made by PySide members about Qt5? In another > thread > (http://lists.qt-project.org/pipermail/pyside/2014-April/002030.html) > Christian Tismer mentioned that he was starting over on PySide 5, so is > anything being discussed somewhere? There isn't any detailed plan to add Qt5 support at this point. I think Christian may be looking at what such a plan might look like. Any help with PySide would be appreciated; working with the existing code base would be a good way to learn about the internals so that you can help with adding Qt5 support. Realistically, though, working with the internals does require working with C++. There is also a development list for pyside at pyside-dev at googlegroups.com for discussion of pyside internals. Thanks, John From tstexture at gmail.com Fri May 23 18:20:18 2014 From: tstexture at gmail.com (Andrew Lyons) Date: Fri, 23 May 2014 09:20:18 -0700 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages Message-ID: Hi, I'm trying to make PySide available to others at work (Windows 7) by moving it from C:\Python27\Lib\site-packages (where pip installed it for me locally) to a location in our PYTHONPATH. Others are however getting an error when they try: from Pyside import QtCore. I moved the following directories: PySide pysideuic PySide-1.2.2.dist-info I've looked through C:\Python27\Lib\site-packages and system32 for files I might have missed, and have read this for insights: https://github.com/PySide/pyside-setup/blob/master/setup.py At this stage I was hoping someone might be able to offer suggestions as to why this obviously wouldn't work... Thanks! Cheers -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mw_triad at users.sourceforge.net Fri May 23 18:56:17 2014 From: mw_triad at users.sourceforge.net (Matthew Woehlke) Date: Fri, 23 May 2014 12:56:17 -0400 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages In-Reply-To: References: Message-ID: On 2014-05-23 12:20, Andrew Lyons wrote: > I'm trying to make PySide available to others at work (Windows 7) by moving > it from C:\Python27\Lib\site-packages (where pip installed it for me > locally) to a location in our PYTHONPATH. > > Others are however getting an error when they try: from Pyside import > QtCore. What's the error? PySide includes C[++] compiled components; you may need to adjust PATH so that these libraries can be found. -- Matthew From tstexture at gmail.com Fri May 23 19:45:04 2014 From: tstexture at gmail.com (Andrew Lyons) Date: Fri, 23 May 2014 10:45:04 -0700 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages In-Reply-To: References: Message-ID: from PySide import QtGui throws: Import Error: No module named PySide I've tried explicitly pathing to the python executable, and PySide exists, and is correctly set up as a package in the PYTHONPATH. Not sure why it cant be found. On 23 May 2014 09:56, Matthew Woehlke wrote: > On 2014-05-23 12:20, Andrew Lyons wrote: > > I'm trying to make PySide available to others at work (Windows 7) by > moving > > it from C:\Python27\Lib\site-packages (where pip installed it for me > > locally) to a location in our PYTHONPATH. > > > > Others are however getting an error when they try: from Pyside import > > QtCore. > > What's the error? > > PySide includes C[++] compiled components; you may need to adjust PATH > so that these libraries can be found. > > -- > Matthew > > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -- =================================================== Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex =================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From schampailler at skynet.be Fri May 23 20:36:49 2014 From: schampailler at skynet.be (Stefan Champailler) Date: Fri, 23 May 2014 20:36:49 +0200 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages In-Reply-To: References: Message-ID: <20140523203649.0dc1aa86@debian> Maybe it's not the answer you're looking for but packaging your application as an EXE file could help (I've had some success with PyInstaller). As for why the libs are not found, that's rather a mystery... Maybe you could print the python path from within python, just to be sure ? Is it the same version of python on your machine and those of your friends ? On Fri, 23 May 2014 10:45:04 -0700 Andrew Lyons wrote: > from PySide import QtGui > > throws: > > Import Error: No module named PySide > > I've tried explicitly pathing to the python executable, and PySide exists, > and is correctly set up as a package in the PYTHONPATH. Not sure why it > cant be found. > > > > On 23 May 2014 09:56, Matthew Woehlke wrote: > > > On 2014-05-23 12:20, Andrew Lyons wrote: > > > I'm trying to make PySide available to others at work (Windows 7) by > > moving > > > it from C:\Python27\Lib\site-packages (where pip installed it for me > > > locally) to a location in our PYTHONPATH. > > > > > > Others are however getting an error when they try: from Pyside import > > > QtCore. > > > > What's the error? > > > > PySide includes C[++] compiled components; you may need to adjust PATH > > so that these libraries can be found. > > > > -- > > Matthew > > > > _______________________________________________ > > PySide mailing list > > PySide at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/pyside > > > > > > -- > =================================================== > Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex > =================================================== -- Timeo Danaos et dona ferentes Twitter : @Arakowa1 From tstexture at gmail.com Fri May 23 20:58:28 2014 From: tstexture at gmail.com (Andrew Lyons) Date: Fri, 23 May 2014 11:58:28 -0700 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages In-Reply-To: <20140523203649.0dc1aa86@debian> References: <20140523203649.0dc1aa86@debian> Message-ID: Thanks. I'll assume that it "should work", and there's something wrong with systems here. (I'm a little new to windows compared to Linux so forensics are complicated by that.) On 23 May 2014 11:36, Stefan Champailler wrote: > Maybe it's not the answer you're looking for but > packaging your application as an EXE file could > help (I've had some success with PyInstaller). > > As for why the libs are not found, that's rather a mystery... > > Maybe you could print the python path from within python, > just to be sure ? Is it the same version of python on your > machine and those of your friends ? > > > On Fri, 23 May 2014 10:45:04 -0700 > Andrew Lyons wrote: > > > from PySide import QtGui > > > > throws: > > > > Import Error: No module named PySide > > > > I've tried explicitly pathing to the python executable, and PySide > exists, > > and is correctly set up as a package in the PYTHONPATH. Not sure why it > > cant be found. > > > > > > > > On 23 May 2014 09:56, Matthew Woehlke >wrote: > > > > > On 2014-05-23 12:20, Andrew Lyons wrote: > > > > I'm trying to make PySide available to others at work (Windows 7) by > > > moving > > > > it from C:\Python27\Lib\site-packages (where pip installed it for me > > > > locally) to a location in our PYTHONPATH. > > > > > > > > Others are however getting an error when they try: from Pyside import > > > > QtCore. > > > > > > What's the error? > > > > > > PySide includes C[++] compiled components; you may need to adjust PATH > > > so that these libraries can be found. > > > > > > -- > > > Matthew > > > > > > _______________________________________________ > > > PySide mailing list > > > PySide at qt-project.org > > > http://lists.qt-project.org/mailman/listinfo/pyside > > > > > > > > > > > -- > > =================================================== > > Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex > > =================================================== > > > -- > Timeo Danaos et dona ferentes > Twitter : @Arakowa1 > _______________________________________________ > PySide mailing list > PySide at qt-project.org > http://lists.qt-project.org/mailman/listinfo/pyside > -- =================================================== Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex =================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From backup.rlacko at gmail.com Fri May 23 21:22:32 2014 From: backup.rlacko at gmail.com (Roman Lacko) Date: Fri, 23 May 2014 21:22:32 +0200 Subject: [PySide] Installing Pyside to repo in PYTHONPATH - not python install site-packages In-Reply-To: References: <20140523203649.0dc1aa86@debian> Message-ID: Hi, can you send here your PYTHONPATH and full path where you moved the PySide packages ? Thanks Roman 2014-05-23 20:58 GMT+02:00 Andrew Lyons : > Thanks. I'll assume that it "should work", and there's something wrong > with systems here. > (I'm a little new to windows compared to Linux so forensics are > complicated by that.) > > > On 23 May 2014 11:36, Stefan Champailler wrote: > >> Maybe it's not the answer you're looking for but >> packaging your application as an EXE file could >> help (I've had some success with PyInstaller). >> >> As for why the libs are not found, that's rather a mystery... >> >> Maybe you could print the python path from within python, >> just to be sure ? Is it the same version of python on your >> machine and those of your friends ? >> >> >> On Fri, 23 May 2014 10:45:04 -0700 >> Andrew Lyons wrote: >> >> > from PySide import QtGui >> > >> > throws: >> > >> > Import Error: No module named PySide >> > >> > I've tried explicitly pathing to the python executable, and PySide >> exists, >> > and is correctly set up as a package in the PYTHONPATH. Not sure why it >> > cant be found. >> > >> > >> > >> > On 23 May 2014 09:56, Matthew Woehlke > >wrote: >> > >> > > On 2014-05-23 12:20, Andrew Lyons wrote: >> > > > I'm trying to make PySide available to others at work (Windows 7) by >> > > moving >> > > > it from C:\Python27\Lib\site-packages (where pip installed it for me >> > > > locally) to a location in our PYTHONPATH. >> > > > >> > > > Others are however getting an error when they try: from Pyside >> import >> > > > QtCore. >> > > >> > > What's the error? >> > > >> > > PySide includes C[++] compiled components; you may need to adjust PATH >> > > so that these libraries can be found. >> > > >> > > -- >> > > Matthew >> > > >> > > _______________________________________________ >> > > PySide mailing list >> > > PySide at qt-project.org >> > > http://lists.qt-project.org/mailman/listinfo/pyside >> > > >> > >> > >> > >> > -- >> > =================================================== >> > Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex >> > =================================================== >> >> >> -- >> Timeo Danaos et dona ferentes >> Twitter : @Arakowa1 >> _______________________________________________ >> PySide mailing list >> PySide at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/pyside >> > > > > -- > =================================================== > Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex > =================================================== > > _______________________________________________ > 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 antoshib at yandex.ru Mon May 26 08:51:14 2014 From: antoshib at yandex.ru (=?koi8-r?B?59XTxdcg4c7Uz84g98HMxc7Uyc7P18ne?=) Date: Mon, 26 May 2014 10:51:14 +0400 Subject: [PySide] shiboken_generator module not found Message-ID: <9030921401087074@web5m.yandex.ru> Please help with generatorrunner on Linux Debian Wheezy. What was done.. I follow this instruction http://lynxline.com/superhybrids-part-2-now-qt-pyside # git clone git://gitorious.org/pyside/apiextractor.git # cd apiextractor # mkdir build && cd build # cmake .. && make && make install && cd ../.. # # git clone git://gitorious.org/pyside/generatorrunner.git # cd generatorrunner # mkdir build && cd build # cmake .. && make && make install && cd ../.. # # git clone git://gitorious.org/pyside/shiboken.git # cd shiboken # mkdir build && cd build # cmake .. && make && make install && cd ../.. # # git clone git://gitorious.org/pyside/pyside.git # cd pyside # mkdir build && cd build # cmake .. && make && make install && cd ../.. First time, when I check for "import PySide.QtGui" it rise error: ImportError: libpyside-python2.7.so.1.2: cannot open shared object file: No such file or directory So I run ldconfig and it helps me. Now I try run: generatorrunner --generator-set=shiboken and got this error: generatorrunner: Error loading generator-set plugin: shiboken_generator module not found.