I'm using Qt for an embedded Linux app and want to make it as small as possible. At the moment If I make a statically compiled executable it will be 3.9Mb, pretty much only using the GUI parts I need. I got it to 3.9Mb just by using qconfig and configuration parameters. I was thinking about seeing how much smaller it could be made by modifying the source code before installing it, if someone has done something like this how small have you got it? thanks
Qt::How small can it be made?
1.9k Views Asked by Ayeayeron At
1
There are 1 best solutions below
Related Questions in QT
- C++ template using pointer and non pointer arguments in a QVector
- Using QPointer and QObject::connect with C++11
- qt How to style a QToolBar > QToolButton overflow button?
- Qt - Repeatedly write at beginning of file
- C++ Mongodb driver, not working
- deletion and cleanup of worker thread in Qt crashes
- How to drap item from QTableView to QPushButton?
- get image type from qimage
- C++ QT Getting part from QString
- How to connect a destroyed signal of C++ object from QML?
- How to get shader version from QOpenGLShader?
- Size of Qt QRadioButton able to get smaller, but not larger than default
- error WinSock.h has already been included Boost Windows Qt
- How to call a non-class member function with pointers as parameters with QtConcurrent::run?
- What is the difference between MinGW SEH and MinGW SJLJ?
Related Questions in INSTALLATION
- Bundle Multiple Xamarin apps in one pkg installer
- install a R package from directory
- Can I automate auto-app installation on my Android device?
- Stop the installshield installation if a file is not found in vb.net
- GVM: Issue when installing GVM in Ubuntu 14.04
- Not able to format namenode in hadoop-2.6.0 multi node installation
- How to install SFML in ubuntu?
- how to install packages from pypi to anaconda?
- What is PREFIX IN make PREFIX=$HOME/usr/local/OpenBLAS?
- WiX installer - change the install path
- First time app run action depending on how app was installed (Android)
- First time app run action depending on how app was installed (iOS)
- Error while installing HBase on windows
- Produce both versions x32 and x64 under PyInstaller
- Python: Trouble with dill installation
Related Questions in CONFIGURE
- Error while installing wxpropertygrid on Ubuntu 14.04
- How do I execute a standard GCC "configure" script with the TDM64-GCC toolchain?
- How to build a './configure && make && make install' software against a custom library which I also build?
- RCSSserver 5.2.2 on ubuntu 14.04 installation error
- OpenCV3/iOS: Custom built - howto change configuration parameters
- libffi installed and recogonized by pkg-config, but not by glib
- Configuring pocl for RISCV
- Configuring PyQt5, fatal error U1077
- Compiling mp4v2 library on windows using QT creator
- what does --enable-optimizations do while compiling python?
- How to disable tracking of a dependency in configure script
- Implement Coding Guidelines using Resharper
- Compile opencore-amr for iOS,but always "configure: error: C++ compiler cannot create executables"
- Why I have this error message while i'm trying to verify my snort configuration
- Building libxml2-2.9.2 for iOS 64 bit
Related Questions in FOOTPRINT
- Do shared libraries reduce memory footprint on WebSphere AppServer 7?
- What is meaning of small footprint in terms of programming?
- How to find local maxima with a variable moving (rolling) window in a 2d numpy array using Python?
- Need assistance with a footprint chart
- '--gc-sections' flag for XCode linker
- footprint soap api + maven-jaxb2-plugin
- jol footprint of HashMap<Integer, Integer>
- How does Scala's Lift manage state?
- Python: How to plot numbers on Y-Axis
- Footprints SQL Server
- Qt::How small can it be made?
- Vizualize Lighting & Solar 3d view in Forge viewer
- Is there a way to reduce the YouTube player footprint
- How much footprint does C++ exception handling add
- python versus java runtime footprint
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I've worked on this on a coldfire system (no mmu, small memory, i.e. size is of importance).
As the entire GUI consisted of custom widgets, we stripped out all classes except QWidget using qconfig. We also took the liberty of removing all resources from the projects files (i.e. stock icons, etc).
The result was, if I recall correctly, a library size of ~960kB. That was rather unusable though, resulting in us having to reimplementing quite a few widgets. However, we did not have touch nor a proper keyboard so we could write small, compact widgets. As we did this, we hardcoded the styling into the widgets, reducing the need for having QStyle's, etc.