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. How to make a minimal QT library for embedded Linux base on MIPS?

How to make a minimal QT library for embedded Linux base on MIPS?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
mips linux
2 Posts 2 Posters 661 Views
  • 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.
  • S Offline
    S Offline
    Starroom
    wrote on last edited by Starroom
    #1

    Hello, everyone.
    I’m planning to port QT to MIPS platform running with Linux. I must make a minimal QTCore library(shared objcet) and QTGui library(shared objcet) limited to the free memory space. According to the official site the minimal QTCore lib is only 2.0M and the QTGui lib is only 4.5M, but I made a QTCore lib with 3.31Mbytes and a QTGui lib with 10.9Mbytes.
    How can I compile a minimal QT library for embedded Linux base on MIPS? Thank a lot!
    P.S.

    1. I don’t need network, webkit, media, sounds modules.
    2. I used the qconfig-minimal.h to cut some unused function or features.
    3. The following is my configuration.
      ./configure -prefix /home/rootman/qt/mini_qt_4.8.7/qt-everywhere-opensource-src-4.8.7/output/ -embedded mips -v-arch mips -platform qws/linux-x86_64-g++ -xplatform qws/linux-rdamips-g++ -opensource -confirm-license -depths 16,24,32 -no-largefile -release -fast -no-dbus -no-sql-sqlite -qt-libpng -qt-freetype -little-endian -host-little-endian -no-svg -no-qt3support -no-libtiff -no-libmng -no-mmx -no-sse -no-sse2-no-sse3 -no-3dnow -no-openssl -no-phonon -no-opengl -no-cups -no-qvfb -no-gif -no-webkit -no-javascript-jit -no-script -no-xmlpatterns -no-kbd-tty -no-kbd-linuxinput -no-kbd-qvfb -no-kbd-qnx -no-mouse-tslib -no-mouse-pc -no-mouse-linuxtp -no-mouse-linuxinput -no-mouse-tslib -no-mouse-qvfb -no-mouse-qnx -no-xcursor -no-xfixes -no-xrandr -no-xrender -nomake examples -nomake tools -nomake docs -nomake demos -no-qt3support -no-libtiff -no-multimedia -no-nis -no-feature-CSSPARSER -no-feature-SOUND -no-feature-XMLSTREAM -no-feature-XMLSTREAMREADER -no-feature-XMLSTREAMWRITER -no-feature-IM -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 -qconfig minimal
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      To simplify things a bit, you should implement you own qconfig base on minimal, that way you won't have to enter everything on the command line. IIRC there's a text file where you can find all features you can disable.

      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

      • Login

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