Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt4 LPC1788 UCLinux Performance
Forum Updated to NodeBB v4.3 + New Features

Qt4 LPC1788 UCLinux Performance

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arturox_x
    wrote on last edited by
    #1

    Hello, first of all, excuse my bad English. It's my first post. I am developing an application in qt4 embedded for an LPC 1788 which contains a Cortex M3 and has a UCLinux OS. What would be the best way to improve the performance of the application so that it is faster.

    I am using the following compilation set.

    The transition between the stackedWidget pages is very slow (3 seconds) as well as loading information into the tableWidget (2 seconds).

    I am using design patterns to create software architecture (such as Facade, Factory, Singleton, etc.). Which advise me to be able to get a better performance.

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Looks like the device is no powerhouse at all so you have to take that into account.

      Then, how complicated are your widgets ?
      How are you creating them ?
      How many do you have ?
      How much data are you loading respectively showing ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arturox_x
        wrote on last edited by
        #3

        Q.- Then, how complicated are your widgets ?
        A.- I generate a qstackedwidget with about 10 views which only have QPushButton, QLabels and QLineEdit except for a view that has a QTableWidget and an LCDnumber.

        Q.- How are you creating them ?
        A.- I create the widget through QtCreator Designer

        Q.- How many do you have ?
        A.- In one of the views where the transition between one view and another of the QStackedWidget takes 3 QLineEdit, 1 QTableWidget, 9 Labels and an LCDNumber. As previously mentioned the QStackedWidget contains 10 views.

        Q.- How much data are you loading respectively showing ?
        A.- In the QTableWidget I am only loading a table with 6 columns and 5 rows

        All the graphing part of the administration from the MainWindow class inheriting from QMainWindow

        I forgot to add my compilation set in the initial question
        ./configure -embedded arm-uclinuxeabi -confirm-license -prefix-install -opensource -static
        -release -no-exceptions -no-accessibility -no-qt3support -no-gif -qt-zlib
        -no-libtiff -qt-libpng -no-libmng -no-libjpeg -no-openssl -no-nis -no-cups
        -no-iconv -no-dbus -no-avx -no-neon -no-xmlpatterns -no-multimedia
        -no-phonon -no-phonon-backend -no-audio-backend -no-javascript-jit
        -no-webkit -no-freetype -no-opengl -qt-gfx-linuxfb
        -no-kbd-linuxinput -no-kbd-tty -no-glib -no-script -no-scripttools -no-declarative
        -nomake examples -nomake demos -nomake docs
        -feature-TEXTHTMLPARSER -no-feature-TEXTODFWRITER -no-feature-CONCURRENT
        -no-feature-DRAGANDDROP -no-feature-SESSIONMANAGER -no-feature-CURSOR
        -no-feature-CLIPBOARD -no-feature-WHEELEVENT -no-feature-SOUND
        -no-feature-EFFECTS -no-feature-SHAREDMEMORY -no-feature-SYSTEMSEMAPHORE
        -no-feature-IM -no-feature-QUUID_STRING -no-feature-PROCESS
        -no-feature-LIBRARY -no-feature-FILESYSTEMMODEL
        -no-feature-FILESYSTEMWATCHER -no-feature-TEXTBROWSER
        -no-feature-WORKSPACE -no-feature-MDIAREA -no-feature-SYNTAXHIGHLIGHTER
        -no-feature-SIZEGRIP -no-feature-PRINTPREVIEWWIDGET -no-feature-PRINTDIALOG
        -no-feature-PRINTPREVIEWDIALOG -no-feature-IMAGEFORMATPLUGIN
        -no-feature-MOVIE -no-feature-IMAGEFORMAT_PPM -no-feature-IMAGEFORMAT_XBM
        -no-feature-IMAGEFORMAT_XPM -feature-IMAGEFORMAT_PNG
        -no-feature-IMAGEFORMAT_JPEG -no-feature-IMAGE_HEURISTIC_MASK
        -no-feature-IMAGE_TEXT -no-feature-PICTURE -no-feature-PRINTER
        -no-feature-CUPS -no-feature-TEXTCODECPLUGIN -no-feature-URLINFO
        -no-feature-HOSTINFO -no-feature-FTP -no-feature-HTTP -no-feature-UDPSOCKET
        -no-feature-NETWORKPROXY -no-feature-SOCKS5 -no-feature-COP
        -no-feature-NETWORKINTERFACE -no-feature-NETWORKDISKCACHE
        -no-feature-BEARERMANAGEMENT -no-feature-COMPLETER -no-feature-FSCOMPLETER
        -no-feature-DESKTOPSERVICES -no-feature-SYSTEMTRAYICON
        -no-feature-UNDOCOMMAND -no-feature-UNDOSTACK -no-feature-UNDOGROUP
        -no-feature-UNDOVIEW -no-feature-ACCESSIBILITY -no-feature-ANIMATION
        -no-feature-GESTURES -no-feature-QWS_SOUNDSERVER
        -no-feature-QWS_MULTIPROCESS -no-feature-QWS_MANAGER -no-feature-QWS_MOUSE
        -no-feature-QWS_PROPERTIES -no-feature-QWS_VNC -no-feature-DBUS
        -no-feature-PHONON_PLATFORMPLUGIN

        and my qt.pro setting

        DEPENDPATH += .
        INCLUDEPATH += .
        CONFIG += debug
        OBJECTS_DIR = .obj
        MOC_DIR = .moc
        RCC_DIR = .rcc
        RESOURCES += qt.qrc
        DEFINES += QT_NO_DEBUG_OUTPUT
        DEFINES += Q_COMPILER_INITIALIZER_LISTS
        BUILDNO = $$(command_to_get_the_build_number)
        DEFINES += BUILD=$${BUILDNO}
        QT_GRAPHICSSYSTEM = 'native'
        QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0

        Thanks

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved