Ignore:
Timestamp:
07/11/10 11:59:28 (11 years ago)
Author:
sc
Message:
  • PySide? import attempted before PyQt4 where available
  • problem specifying port when calling socket.listen on QTcpServer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_client_interface_network.py

    r109 r111  
    1515import os, sys 
    1616 
    17 #try: 
    18         #from PySide import QtGui 
    19 #except: 
    20         #print "Using PyQt4 module" 
    21         #from PyQt4 import QtGui 
    22 #else: 
    23         #print "Using PySide module" 
     17try: 
     18        import PySide as PyQt4 
     19        from PySide import QtGui 
     20except: 
     21        print "Using PyQt4 module" 
     22        from PyQt4 import QtGui 
     23else: 
     24        print "Using PySide module" 
    2425 
    25 from PyQt4 import QtGui 
     26#from PyQt4 import QtGui 
    2627#from PySide import QtGui 
    2728 
Note: See TracChangeset for help on using the changeset viewer.