Results 1 to 9 of 9

Thread: Bug with systeminfo

  1. #1

    Default Bug with systeminfo

    Hello,

    I would like to know the remaining capacity of my computer battery. So I install the Mobility module named systeminfo.
    I use it on ubuntu 12.04 (Qt 4.8.4). I compile the example given in the module.
    On the battery part, all the informations is at 0 or -1. I thought I had to be as root to get the informations.
    Unfortunatly this is not the cause of the problem.

    Do I have to install an other module or a package on ubuntu to be able to get informations?

    Best regard

  2. #2
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Bug with systeminfo

    I got this problem too on a debian testing.

    I made it work by building my own version from the source.

    This is how I understand this issue : according to .pro file of systemInfo all platforms except meego do not use upower for battery information but HAL or a proc/acpi deprecated entry...
    But my computer doesn't use HAL which has been replaced by upower some time ago and does not have the proc/acpi entry for the battery.

    So inside the source I changed the systeminfo.pro from
    Qt Code:
    1. contains(CONFIG,meego): {
    2. SOURCES += linux/qdevicekitservice_linux.cpp
    3. HEADERS += linux/qdevicekitservice_linux_p.h
    4. } else {
    5. DEFINES += QT_NO_UDISKS QT_NO_UPOWER
    6. !contains(QT_CONFIG,embedded):!contains(QT_CONFIG,qpa): LIBS += -lX11 -lXrandr
    7. }
    To copy to clipboard, switch view to plain text mode 
    to
    Qt Code:
    1. SOURCES += linux/qdevicekitservice_linux.cpp
    2. HEADERS += linux/qdevicekitservice_linux_p.h
    3. !contains(CONFIG,meego): {
    4. #DEFINES += QT_NO_UDISKS QT_NO_UPOWER
    5. !contains(QT_CONFIG,embedded):!contains(QT_CONFIG,qpa): LIBS += -lX11 -lXrandr
    6. }
    To copy to clipboard, switch view to plain text mode 

    Rebuild and use it instead of the package lib, it works fine for me.

  3. #3

    Default Re: Bug with systeminfo

    Thank you for the answer.
    But in my systeminfo.pro file there is not that sentence:

    DEFINES += QT_NO_UDISKS QT_NO_UPOWER

    I can put you my systeminfo.pro file :
    Qt Code:
    1. TEMPLATE = lib
    2. TARGET = QtSystemInfo
    3. QT += network gui
    4.  
    5. include(../../common.pri)
    6.  
    7. # Input
    8. PUBLIC_HEADERS += \
    9. qsysteminfo.h \
    10. qsystemgeneralinfo.h \
    11. qsystemdeviceinfo.h \
    12. qsystemdisplayinfo.h \
    13. qsystemnetworkinfo.h \
    14. qsystemscreensaver.h \
    15. qsystemstorageinfo.h \
    16. qsystembatteryinfo.h \
    17. qsystemalignedtimer.h
    18.  
    19. SOURCES += \
    20. qsystemgeneralinfo.cpp \
    21. qsystemdeviceinfo.cpp \
    22. qsystemdisplayinfo.cpp \
    23. qsystemnetworkinfo.cpp \
    24. qsystemscreensaver.cpp \
    25. qsystemstorageinfo.cpp \
    26. qsystembatteryinfo.cpp \
    27. qsystemalignedtimer.cpp
    28.  
    29. PRIVATE_HEADERS += qsysteminfocommon_p.h
    30.  
    31. DEFINES += QT_MAKEDLL QT_BUILD_SYSINFO_LIB
    32.  
    33. unix:!simulator {
    34. QT += gui
    35. PRIVATE_HEADERS += linux/qsysteminfo_dbus_p.h
    36.  
    37. contains(build_unit_tests, yes):contains(test_use_sim, yes) {
    38.  
    39. ## for using simulator backend to test frontend signals
    40. ## configure with -test-sim -tests
    41.  
    42. SOURCES += qsysteminfo_simulator.cpp qsysteminfodata_simulator.cpp
    43. HEADERS += qsysteminfo_simulator_p.h qsysteminfodata_simulator_p.h
    44. DEFINES += TESTR QT_SIMULATOR
    45. SOURCES += qsystemalignedtimer_stub.cpp
    46. HEADERS += qsystemalignedtimer_stub_p.h
    47.  
    48. } else {
    49.  
    50. linux-*: {
    51. contains(bluez_enabled, yes):DEFINES += BLUEZ_SUPPORTED
    52.  
    53. SOURCES += linux/qsysteminfo_linux_common.cpp
    54. HEADERS += linux/qsysteminfo_linux_common_p.h
    55.  
    56. contains(blkid_enabled, yes): {
    57. DEFINES += BLKID_SUPPORTED
    58. LIBS += -lblkid
    59. }
    60.  
    61. !embedded:!contains(QT_CONFIG,qpa): {
    62. LIBS += -lX11 -lXrandr
    63. }
    64.  
    65. contains(iphb_enabled, yes): {
    66. SOURCES += qsystemalignedtimer_meego.cpp
    67. HEADERS += qsystemalignedtimer_meego_p.h
    68. PKGCONFIG += libiphb
    69. DEFINES += ALIGNEDTIMER_MEEGO
    70. LIBS += -liphb
    71. } else {
    72. SOURCES += qsystemalignedtimer_stub.cpp
    73. HEADERS += qsystemalignedtimer_stub_p.h
    74. }
    75. }
    76.  
    77. !maemo5:!maemo6:linux-*: {
    78.  
    79. SOURCES += linux/qsysteminfo_linux.cpp
    80. HEADERS += linux/qsysteminfo_linux_p.h
    81. contains(QT_CONFIG, dbus): {
    82. QT += dbus
    83. SOURCES += \
    84. linux/qhalservice_linux.cpp \
    85. linux/qsysteminfodbushelper.cpp \
    86. linux/qdevicekitservice_linux.cpp
    87.  
    88. HEADERS += \
    89. linux/qhalservice_linux_p.h \
    90. linux/qsysteminfodbushelper_p.h \
    91. linux/qdevicekitservice_linux_p.h \
    92. linux/qsysteminfo_dbus_p.h
    93.  
    94. contains(udev_enabled, yes): {
    95. DEFINES += UDEV_SUPPORTED
    96. LIBS += -ludev
    97. SOURCES += linux/qudevservice_linux.cpp
    98. HEADERS += linux/qudevservice_linux_p.h
    99. }
    100.  
    101. contains(networkmanager_enabled, yes): {
    102. SOURCES += linux/qnetworkmanagerservice_linux.cpp linux/qnmdbushelper.cpp
    103. HEADERS += linux/qnetworkmanagerservice_linux_p.h linux/qnmdbushelper_p.h
    104. } else {
    105. DEFINES += QT_NO_NETWORKMANAGER
    106. }
    107.  
    108. contains(CONFIG,meego): {
    109. #for now... udisks
    110. } else {
    111. DEFINES += QT_NO_UDISKS
    112. !embedded:!contains(QT_CONFIG,qpa): LIBS += -lX11 -lXrandr
    113. }
    114.  
    115. contains(connman_enabled, yes): {
    116. SOURCES+= linux/qconnmanservice_linux.cpp linux/qofonoservice_linux.cpp
    117. HEADERS+= linux/qconnmanservice_linux_p.h linux/qofonoservice_linux_p.h
    118. } else {
    119. DEFINES += QT_NO_CONNMAN
    120. }
    121. } else {
    122. DEFINES += QT_NO_NETWORKMANAGER QT_NO_UDISKS QT_NO_CONNMAN
    123. !embedded:!contains(QT_CONFIG,qpa): LIBS += -lX11 -lXrandr
    124. }
    125. }
    126.  
    127. maemo5|maemo6: {
    128.  
    129. #Qt GConf wrapper added here until a proper place is found for it.
    130. CONFIG += link_pkgconfig
    131. SOURCES += qsysteminfo_maemo.cpp linux/gconfitem.cpp
    132. HEADERS += qsysteminfo_maemo_p.h linux/gconfitem_p.h
    133. DEFINES += QT_NO_CONNMAN QT_NO_UDISKS QT_NO_NETWORKMANAGER
    134.  
    135. contains(bme_enabled, yes): {
    136. LIBS += -lbmeipc
    137. DEFINES += Q_USE_BME
    138. }
    139.  
    140. contains(QT_CONFIG,dbus): {
    141. QT += dbus
    142. SOURCES += linux/qhalservice_linux.cpp
    143. HEADERS += linux/qhalservice_linux_p.h
    144. }
    145.  
    146. PKGCONFIG += glib-2.0 gconf-2.0
    147. CONFIG += create_pc create_prl
    148. QMAKE_PKGCONFIG_REQUIRES = glib-2.0 gconf-2.0
    149. pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
    150. pkgconfig.files = QtSystemInfo.pc
    151. }
    152.  
    153.  
    154. symbian: {
    155. contains(S60_VERSION, 3.1) {
    156. DEFINES += SYMBIAN_3_1
    157. }
    158.  
    159. contains(S60_VERSION, 5.2) {
    160. DEFINES += SYMBIAN_3_PLATFORM
    161. }
    162.  
    163. contains(LockandFlipPSkeys_enabled, yes) {
    164. message("LockandFlipPSKeys available")
    165. DEFINES += LOCKANDFLIP_SUPPORTED
    166. SOURCES += lockandflipstatus_s60.cpp
    167. HEADERS += lockandflipstatus_s60.h
    168. }
    169.  
    170. contains(FmTxClient_enabled, yes) {
    171. message("FmTxClient available")
    172. DEFINES += FMTXCLIENT_SUPPORTED
    173. LIBS += -lhwrmfmtxclient
    174. }
    175.  
    176. contains(DiskNotifyClient_enabled, yes) {
    177. message("DiskNotiferClient available")
    178. DEFINES += DISKNOTIFY_SUPPORTED
    179. LIBS += -ldisknotifyhandler
    180. SOURCES += storagedisknotifier_s60.cpp
    181. HEADERS += storagedisknotifier_s60.h
    182. }
    183.  
    184. contains(hb_symbian_enabled, yes) {
    185. ## for symbian ^4
    186. CONFIG += qt hb
    187. DEFINES += HB_SUPPORTED
    188. message("s60_HbKeymap enabled")
    189. LIBS += -lhbcore
    190. } else {
    191. LIBS += -lptiengine
    192. }
    193.  
    194. contains(symbianflextimer_tenabled, yes) { #disabled until test crash is fixed
    195. message("SymbianFlexTimer enabled")
    196. SOURCES += qsystemalignedtimer_symbian.cpp heartbeattimer_s60.cpp
    197. HEADERS += qsystemalignedtimer_symbian_p.h heartbeattimer_s60.h
    198. DEFINES += ALIGNEDTIMER_SYMBIAN
    199. LIBS += -lflextimerclient
    200. } else {
    201. SOURCES += qsystemalignedtimer_stub.cpp
    202. HEADERS += qsystemalignedtimer_stub_p.h
    203. }
    204.  
    205. INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    206. DEPENDPATH += symbian
    207.  
    208. SOURCES += \
    209. qsysteminfo_s60.cpp \
    210. telephonyinfo_s60.cpp \
    211. chargingstatus_s60.cpp \
    212. wlaninfo_s60.cpp \
    213. storagestatus_s60.cpp \
    214. pubandsubkey_s60.cpp \
    215. batterystatus_s60.cpp \
    216. networkinfo_s60.cpp
    217.  
    218. HEADERS += \
    219. qsysteminfo_s60_p.h \
    220. telephonyinfo_s60.h \
    221. chargingstatus_s60.h \
    222. wlaninfo_s60.h \
    223. storagestatus_s60.h \
    224. pubandsubkey_s60.h \
    225. batterystatus_s60.h \
    226. networkinfo_s60.h
    227.  
    228. LIBS += \
    229. -lprofileengine \
    230. -letel3rdparty \
    231. -lsysutil \
    232. -lcentralrepository \
    233. -lcenrepnotifhandler \
    234. -lefsrv \
    235. -lfeatdiscovery \
    236. -lhwrmvibraclient \
    237. -lavkon \ #Used by AknLayoutUtils::PenEnabled(). Try to remove this dependency.
    238. -lcone \
    239. -lws32 \
    240. -lcentralrepository \
    241. -lbluetooth \
    242. -lgdi \
    243. -lecom \
    244. -lplatformenv \
    245. -lhwrmlightclient \
    246. -letel
    247.  
    248. contains(S60_VERSION, 5.1) | contains(S60_VERSION, 5.2) {
    249. LIBS += -lhwrmpowerclient -lusbman
    250. }
    251.  
    252. contains(symbiancntsim_enabled, yes) {
    253. LIBS += -letelmm
    254. DEFINES += ETELMM_SUPPORTED
    255. message("ETELMM enabled")
    256. }
    257.  
    258. contains(etelpacketservice_symbian_enabled, yes) {
    259. message("etel packet service enabled")
    260. LIBS += -letelpckt
    261. DEFINES += ETELPACKETSERVICE_SUPPORTED
    262. }
    263.  
    264. contains(thermalstatus_symbian_enabled, yes) {
    265. DEFINES += THERMALSTATUS_SUPPORTED
    266. SOURCES += thermalstatus_s60.cpp
    267. HEADERS += thermalstatus_s60.h
    268. message("Thermalstatus enabled")
    269. }
    270.  
    271. TARGET.CAPABILITY = ALL -TCB
    272. # TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment Location ReadDeviceData TrustedUI
    273.  
    274. TARGET.EPOCALLOWDLLDATA = 1
    275. TARGET.UID3 = 0x2002ac7d
    276.  
    277. QtSystemInfoDeployment.sources = QtSystemInfo.dll
    278. QtSystemInfoDeployment.path = /sys/bin
    279. DEPLOYMENT += QtSystemInfoDeployment
    280. }
    281. }
    282. }
    283.  
    284. HEADERS += $$PUBLIC_HEADERS
    285. CONFIG += middleware
    286. include (../../features/deploy.pri)
    To copy to clipboard, switch view to plain text mode 

    I tried different modifications but I still don't have battery informations.

  4. #4
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Bug with systeminfo

    Yes, your .pro has been fixed. Where did you get it? I download mine from https://qt.gitorious.org/qt-mobility...3cb1887d74614:

    Did upower work fine on you computer?
    Try :
    upower -e , it gives me, 2 results : */line_power_AC0 and */battery_BAT0
    upower -i with the complete line containing battery from the previous command, this should give you a lot of information about your battery.

    If it works fine, I have no idea why systeminfo cannot read them. Maybe you can try the way i do, by compiling the library in debug mode and the example too and go step by step with gdb to find out where an error occurs.

  5. #5

    Default Re: Bug with systeminfo

    Unfortunatly upower -i seems to work fine ...

    vendor: SONYCorp
    model: AS10D41
    serial: 1097
    power supply: yes
    updated: dim. 26 janv. 2014 18:44:13 CET (18 seconds ago)
    has history: yes
    has statistics: yes
    battery
    present: yes
    rechargeable: yes
    state: charging
    energy: 22,3776 Wh
    energy-empty: 0 Wh
    energy-full: 39,744 Wh
    energy-full-design: 47,52 Wh
    energy-rate: 32,1192 W
    voltage: 11,769 V
    time to full: 32,4 minutes
    percentage: 56,3043%
    capacity: 83,6364%
    technology: lithium-ion
    History (charge):
    1390758253 56,304 charging
    1390758223 55,598 charging
    1390758193 54,864 charging
    1390758163 54,158 charging
    History (rate):
    1390758253 32,119 charging
    1390758193 32,108 charging



    So I would like to compile in debug mode, how can I compile the projet and the src in debug mode?

  6. #6
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Bug with systeminfo

    Another idea, are you sure you are really using the right library? Check the library you are using with ldd qsysinfo, it should point to the built lib and not the package one.

    For debug mode, I open both .pro file with qtcreator and build in debug. I use LD_LIBRARY_PATH to force the example binary to use the right library.

  7. #7

    Default Re: Bug with systeminfo

    Here is what I get from the ldd command:

    linux-gate.so.1 => (0xb7729000)
    libQtSystemInfo.so.1 => /home/xavier/QtSDK/QtMobility/install/lib/libQtSystemInfo.so.1 (0xb76c0000)
    libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6bcd000)
    libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xb6a7f000)
    libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb67a2000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb66bd000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6691000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6673000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb64c8000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6394000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb638b000)
    libQtDBus.so.4 => /usr/lib/i386-linux-gnu/libQtDBus.so.4 (0xb630b000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb62f0000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb62bb000)
    libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb62a2000)
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb61a9000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb617f000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6169000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb60ce000)
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb607f000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb6076000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb605c000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb604b000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb6040000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb602e000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6029000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6020000)
    /lib/ld-linux.so.2 (0xb772a000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb5fff000)
    libQtXml.so.4 => /usr/lib/i386-linux-gnu/libQtXml.so.4 (0xb5fbc000)
    libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb5f73000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb5f49000)
    libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb5eed000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb5ee9000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb5eac000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb5ea5000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb5e9f000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb5e98000)

    What is the difference between the build lib and the package lib? The one is come from QtMobility and the other from my compilation of systeminfo module?


    Added after 37 minutes:


    I add the ligne in the .pro and I get that:

    linux-gate.so.1 => (0xb77b5000)
    libQtSystemInfo.so.1 => /home/xavier/QtSDK/QtMobility/lib/libQtSystemInfo.so.1 (0xb774c000)
    libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6c59000)
    libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xb6b0b000)
    libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb682e000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6749000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb671d000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb66ff000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6554000)
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6420000)
    libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb6417000)
    libQtDBus.so.4 => /usr/lib/i386-linux-gnu/libQtDBus.so.4 (0xb6397000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb637c000)
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb6347000)
    libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb632e000)
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb6235000)
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb620b000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb61f5000)
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb615a000)
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb610b000)
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb6102000)
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb60e8000)
    libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb60d7000)
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb60cc000)
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb60ba000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb60b5000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb60ac000)
    /lib/ld-linux.so.2 (0xb77b6000)
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb608b000)
    libQtXml.so.4 => /usr/lib/i386-linux-gnu/libQtXml.so.4 (0xb6048000)
    libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb5fff000)
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb5fd5000)
    libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb5f79000)
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb5f75000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb5f38000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb5f31000)
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb5f2b000)
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb5f24000)


    But I still can't see the battery informations.
    Last edited by bird12358; 26th January 2014 at 18:35.

  8. #8
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Bug with systeminfo

    It's just we use different sources and build option, the one in the .deb package can be different too.
    But according to your ldd result yours is fine.
    I suggest try with a debugger and see why you are skiping upower info. Does the code managing upower info is reached, does it return an error, etc...

  9. #9

    Default Re: Bug with systeminfo

    When I want to put the qt in debug mode, I have that message:
    Qt Code:
    1. Ceci ne semble pas être une compilation en mode débogage.
    2. Mettre des points d'arrêt par nom de fichier et numéro de ligne pourrait échouer.
    3. Section .debug_info : Non trouvé.
    4. Section .debug_abbrev : Non trouvé.
    5. Section .debug_line : Non trouvé.
    6. Section .debug_str : Non trouvé.
    7. Section .debug_loc : Non trouvé.
    8. Section .debug_range : Non trouvé.
    9. Section .gdb_index : Non trouvé.
    10. Section .note.gnu.build-id : Trouvé.
    11. Section .gnu.hash : Trouvé.
    12. Section .gnu_debuglink : Non trouvé.
    To copy to clipboard, switch view to plain text mode 

    I try to install systeminfo on an other computer but I still have the same problem. Do it come from my computers or from the systeminfo module?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.