[Interest] QtInfo meets Qt5 (and encounters some minor oddities)

Attila Csipa qt at csipa.in.rs
Fri Dec 21 17:14:00 CET 2012


Hi,

I've ported QtInfo (<shameless plug> 
https://projects.developer.nokia.com/qtinfo </shameless plug>) to Qt5, 
and here are a few notes. Overall the porting went fairly easy (had just 
two methods to work around, QString::toAscii and 
QLibraryInfo::buildKey), the rest was either packaging/qmake magic, or 
MSVC peculiarities (as I previously exclusively used gcc/mingw).

Now, for the oddities (I guess old news for those who use Qt5 on a daily 
base, but just to avoid gotchas):

1. Multimediakit devices/codecs don't show up... There *are* devices and 
codecs available (seen on the Qt4 build) but the 5.0.0 MSVC build comes 
up empty.

2. QtOpenGL reports no non-ES versions, only OpenGL ES 2 as supported, 
which is odd (being run on a desktop computer).

You're encouraged to go ahead and run it on weird configurations, if you 
think you're getting something you shouldn't be, report back to me or 
file a bug at the Qt project if you think it's something due to Qt.

For those that are too lazy to compile their own QtInfo, here's the 
output from a Win7 machine with the release 5.0.0 binaries (note for 
those new to QtInfo: the key here is that all of the info is determined 
at runtime)

Qt version: 5.0.0
Qt build: Tue Dec 18 2012, Open Source
Country: UnitedStates
Language: English (en_US)
Qt modules: Qt5CLucene Qt5Concurrent Qt5Core Qt5Declarative Qt5Designer 
Qt5DesignerComponents Qt5Gui Qt5Help Qt5Multimedia Qt5MultimediaQuick_p 
Qt5MultimediaWidgets Qt5Network Qt5OpenGL Qt5PrintSupport Qt5Qml 
Qt5Quick Qt5QuickParticles Qt5QuickTest Qt5Script Qt5ScriptTools Qt5Sql 
Qt5Svg Qt5Test Qt5V8 Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml 
Qt5XmlPatterns

MultimediaKit Audio

  Input devices: Microphone (Realtek High Defini
  Output devices: Speakers (Realtek High Definiti
  Supported codecs: N/A

MultimediaKit Video

  Supported codecs: N/A


Qt Quick (via QtDeclarative)

  Qt Quick version: 1.1
  Qt Quick plugins:
     Qt.labs.folderlistmodel
     Qt.labs.gestures
     Qt.labs.particles
     Qt.labs.shaders
     QtWebKit
  Qt Quick import path:
 
C:/Users/attila/Documents/GitHub/qtinfo/QtInfo-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Default_build_Release/qtinfo/debug
     C:/QtSDK/Qt5.0.0/5.0.0/msvc2010/imports<br>


Qt Quick (via QtQml/Quick)

  Qt Quick version: 2.0
  Qt Quick plugins: Qt.labs.folderlistmodel
     QtGraphicalEffects
     QtMultimedia
     QtQuick.LocalStorage
     QtQuick.Particles.2
     QtQuick.Window.2
     QtQuick.XmlListModel
     QtQuick.2
     QtTest
     QtWebKit
     QtWebKit.experimental
  Qt Quick import path:
 
C:/Users/attila/Documents/GitHub/qtinfo/QtInfo-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Default_build_Release/qtinfo/debug
     C:/QtSDK/Qt5.0.0/5.0.0/msvc2010/qml<br>


OpenGL

  OpenGL support: YES
  OpenGL version:  OpenGL ES 2.0


WebKit

  WebKit version: 537.21
  SSL support: NO

Networking

  {C63DBB45-4593-4EB8-B187-DC61C9340BF0}: 54:1A:06:70:F1:21 - 
fe80::81c7:cdc9:5365:d6c7%28
  {A4EE9C06-3DBC-4F3A-A729-C9A6A7F4DEBB}: 88:53:2E:05:9F:84 - 
fe80::dc13:d42d:e4b9:1e39%16
  {5DCEC101-56DA-4BEE-ABF4-1EADE44A37CA}: 00:50:56:C0:00:08 - 
fe80::8cd8:924d:9c93:6201%24
  {9329FE43-A737-403A-914A-F84B2D7AB853}: 08:00:27:00:28:7F - 
fe80::8cc2:af0b:26ea:a518%52
  {846EE342-7039-11DE-9D20-806E6F6E6963}:  - ::1


SQL

  Drivers: QSQLITE

Library path: C:\QtSDK\Qt5.0.0\5.0.0\msvc2010\lib
Plugin path: C:\QtSDK\Qt5.0.0\5.0.0\msvc2010\plugins
Import path: C:\QtSDK\Qt5.0.0\5.0.0\msvc2010\translations
Image formats: bmp, gif, ico, jpeg, jpg, mng, pbm, pgm, png, ppm, svg, 
svgz, tga, tif, tiff, wbmp, xbm, xpm

Fonts

  Installed fonts: Aharoni, Andalus, ..., Verdana, Vijaya, Vrinda, 
Webdings, Wingdings

  Writing systems: Latin (AaÃáZz), Greek (????), Cyrillic (????), 
Armenian (????), Hebrew (????), Arabic (????), Syriac (????), Thaana 
(????), Devanagari (????), Bengali (????), Gurmukhi (????), Gujarati 
(????), Oriya (????), Tamil (????), Telugu (????), Kannada (????), 
Malayalam (????), Sinhala (????), Thai (????), Lao (????), Tibetan 
(????), Georgian (????), Khmer (????), Simplified Chinese (????), 
Traditional Chinese (????), Japanese (??????), Korean (????), Vietnamese 
(????), Symbol (AaBbzZ), Ogham (????), Runic (????), N'Ko (????)

  Standard sizes: 6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 
28, 36, 48, 72



More information about the Interest mailing list