{"id":650,"date":"2008-02-01T22:33:52","date_gmt":"2008-02-02T05:33:52","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/2008\/02\/01\/checking-what-pyqt4-version-youre-running\/"},"modified":"2008-02-01T22:33:52","modified_gmt":"2008-02-02T05:33:52","slug":"checking-what-pyqt4-version-youre-running","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/checking-what-pyqt4-version-youre-running\/","title":{"rendered":"Checking what PyQt4 version you&#8217;re running"},"content":{"rendered":"<p>This is one of those things I tend to forget<\/p>\n<p><code><br \/>\n>>> PyQt4.Qt.qVersion()<br \/>\n'4.3.3'<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is one of those things I tend to forget >>> PyQt4.Qt.qVersion() &#8216;4.3.3&#8217;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15,65,66],"tags":[268,818,819,1458,1459,831,1069],"class_list":["post-650","post","type-post","status-publish","format-standard","hentry","category-code","category-python","category-qt4","tag-checking","tag-pyqt","tag-pyqt4","tag-python","tag-qt4","tag-reference","tag-version"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-au","jetpack-related-posts":[{"id":541,"url":"https:\/\/www.gubatron.com\/blog\/note-about-signals-and-pyqt4\/","url_meta":{"origin":650,"position":0},"title":"Note about Signals and PyQt4.","author":"gubatron","date":"July 9, 2007","format":false,"excerpt":"I keep making the mistake of sending PyQt_PyObjects instead of sending actual Qt4 objects on signals that are defined by Qt like that. Bottom line: If a signal has been defined by Qt, to send Qt objects, just copy and paste it, do not try to override it by exchanging\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":788,"url":"https:\/\/www.gubatron.com\/blog\/blooploader-06-is-hardy-compatible\/","url_meta":{"origin":650,"position":1},"title":"Blooploader 0.6 is Hardy compatible","author":"gubatron","date":"April 26, 2008","format":false,"excerpt":"Blooploader 0.6 running on Hardy. Currently available only via subversion. For our Linux users, you can safely update to Ubuntu Hardy if the one thing holding your breath was compatibility with the Blooploader. Currently we run the Blooploader in Linux from source, you just need to have installed, Qt4, sip4,\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":611,"url":"https:\/\/www.gubatron.com\/blog\/pyqt4-using-qmutex-vs-qmutexlocker\/","url_meta":{"origin":650,"position":2},"title":"PyQt4: Using QMutex vs QMutexLocker.","author":"gubatron","date":"November 25, 2007","format":false,"excerpt":"Here's some code for my future reference on how to use QMutex or QMutexLocker. Lessons Learned: * Use QMutex to protect data, not code. Try not to lock hughe amounts of code within a function with mutex.lock(), mutex.unlock(), if for any reason you forget to release the lock you'll be\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":518,"url":"https:\/\/www.gubatron.com\/blog\/creative-qtpyqt-gui-developers-needed\/","url_meta":{"origin":650,"position":3},"title":"Do you dream about coding with Python and Qt4 (PyQt4)? Temboo needs you.","author":"gubatron","date":"May 12, 2007","format":false,"excerpt":"Creative Qt\/PyQt GUI Developers needed About us: Temboo is a New York-based software company. We have developed a new software model which uses a powerful graphical interface to allow non-programmers to quickly build complex workflows enabling disparate databases, web services, and applications to communicate and interact. Think of our technology\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":470,"url":"https:\/\/www.gubatron.com\/blog\/how-to-build-pyqt4-for-windows\/","url_meta":{"origin":650,"position":4},"title":"How to build PyQt4 for Windows","author":"gubatron","date":"February 23, 2007","format":false,"excerpt":"- Make sure you don't have cygwin or C:devkitPromsysbin in your path, or else your make files can end up trying to run the Makefile using 'sh' and all the makefile we're about to use are meant to run from the windows command line. If for some odd reason you\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":667,"url":"https:\/\/www.gubatron.com\/blog\/twitts-of-2008-02-16\/","url_meta":{"origin":650,"position":5},"title":"Twitts of 2008-02-16","author":"gubatron","date":"February 16, 2008","format":false,"excerpt":"FrostWire runs on Starbucks # @CamonZ: You need to download, make and make install \"sip\" from http:\/\/www.riverbankcomputing.co.uk\/sip\/download.php # @CamonZ: After you're done with sip, you should downoad Qt4 from trolltech, configure, make install... # @CamonZ: Once you're done with Qt4, you'll need PyQt4. This one you also get from RiverBankComputing.\u2026","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.gubatron.com\/blog\/category\/twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=650"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/650\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}