~neon/project-neon/printer-applet

« back to all changes in this revision

Viewing changes to cmake-modules/FindPyQt.py

  • Committer: Jonathan Riddell
  • Date: 2008-03-24 00:53:35 UTC
  • Revision ID: git-v1:1a8383f25060c9c9682766319f2e68a7621e5768
add printer-applet, a replacement for kjobviewer.  a Python app.  please test.

svn path=/trunk/kdereview/printer-applet/; revision=789361

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
 
2
# Redistribution and use is allowed according to the terms of the BSD license.
 
3
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
4
 
 
5
f=open('/tmp/workfile', 'w')
 
6
f.write("finding Qt")
 
7
f.close()
 
8
 
 
9
import PyQt4.pyqtconfig
 
10
 
 
11
pyqtcfg = PyQt4.pyqtconfig.Configuration()
 
12
print("pyqt_version:%06.0x" % pyqtcfg.pyqt_version)
 
13
print("pyqt_version_str:%s" % pyqtcfg.pyqt_version_str)
 
14
print("pyqt_sip_dir:%s" % pyqtcfg.pyqt_sip_dir)