; name of your merged image resource file, ending with MBM
Headerdir = $ (epocroot) epoc32/includeHeaderfilename = $ (headerdir)/youtimage_res.mbg; include header file name
Icondir = ../GFX
Do_nothing:@ REM do_nothing
Makmake: do_nothing
BLD: do_nothing
Clean: do_nothing
Lib: do_nothing
Cleanlib: do_nothing
Resource:Mifconv $ (icontargetfilename)/h $ (headerfilename)/fimages. miflist;/F is followed by the resource list file nameFreeze: do_nothing
Save
modify the compilation script for the ARM platform to proceed normally.In the extract directory of qte4, go to the mkspecs/qws/Linux-arm-G ++/directory and name it qmake. CONF file, configure the cross tool chain Selection in it, and change all arm-Linux-to arm_v5t_le-to specify the cross tool chain of the Da Vinci platform.Configure qte4Select parameters as needed, and enter the source code extraction directory for configuration. The steps are as follows:#. /Configure-release-shared-fast-no-la
compile and install QT for ARM, first configure the following:
[Email protected]:/ARM/QT/qt-everywhere-opensource-src-4.7.0 # Vim a. Sh
1 #! /Bin/sh23 # For arm4. /configure-Prefix/opt/embedsky/qt-4.7-arm-Embedded ARM-release-opensource-fast-no-Accessibility-no-scripttools-no-MMX-no-multimedia-no-SVG- no-3dnow-no-SSE-no-sse2-silent-QT-libpng-QT-libjpeg-no-libmng-no-LibTIFF-no-multimedia-make libs-nomake tools-nomake examples-nomake docs-nomake demo-no-Nis-no-cups-no-iconv-no-signature-no-OpenSS
is modified as needed.Error during compilation, prompt
G ++: Error: Unrecognized command line option '-fuse-LD = Gold'
This is a bug in QT: https://bugs.webkit.org/show_bug.cgi? Id = 89312In a system with a gold linker installed, the-fuse-LD = gold option is added to the compilation script, but this option is not supported by GCC. The solution is to remove this option, find the file src/3 rdparty/WebKit/source/common. PRI, and shield qmake_lflags + =-fuse-LD = gold.
1
# QMAKE_LFL
When drawing an image, the drawimage function will automatically increase the gradient if it is stretched. The detailed description is as follows.
Suppose we want to make a progress bar and use our own PNG format image as the background and foreground for drawing. At this time, we must stretch the image, first, we need to show different progress by stretching the amount horizontally, and second, in order to save the volume of resource files, we only need to have a few pixels (or even one pixel)
. In this case, the function coupling is too strong, and the scalability of the written components is not highly reusable. If the three components need to interact with each other, you only need to define the interfaces they call to the outside by using the callback function or the publish-subscribe mode.
However, the management of text domain values is very simple. Writing or not writing components does not matter much, but at least function-level encapsulation is available. Although the File U
:00440f2c |. 8b45 FC MOV eax,dword PTR ss:[ebp-4]00440f2f |.BA 14104400 MOV edx,crackme3.00441014; ASCII "Registered User"00440f34 |.E8 F32BFCFF call crackme3.00403b2c; The key is to go with F7.00440f39 |.JNZ short crackme3.00440f8c; This is the end of the jump.00440f3b |. 8d55 FC LEA edx,dword PTR ss:[ebp-4]00440f3e |. 8b83 C8020000 MOV eax,dword PTR Ds:[ebx+2c8]00440f44 |. E8 D7FEFDFF Call Crackme3.00420e2000440f49 |. 8b45 FC MOV eax,dword PTR ss:[ebp-4]00440f4c |.BA 2c104400 MOV edx,crackme3.
Preparation:
1. QT source package qt-everywhere-opensource-src-4.7.0-beta2.tar.gz
2. The cross-compiler is embedded with eabi-4.3.3_embedsky_20100610.tar.bz2 (4.3.3)
3. Touch Screen verification tool: tslib-1.4.tar.gz
Token)
-------------------------------------------------------------
Compile and install:
1. First install the cross-Editor eabi-4.3.3_embedsky_20100610.tar.bz2 (this is easy, not to mention)
2.install tslib-1.4.tar.gz. This is also relatively easy (refer to the previous articl
critical, because after compilation, You need to copy lib to the board.
For touch screens, I use tslib1.4
The process of cross-compiling tslib is as follows:
Decompress the package to/home.
#./Autogen. Sh#./Configure -- prefix =/home/duancp/mytslib/-- Host = arm-Linux ac_cv_func_malloc_0_nonnull = Yes (you can generate a cache file)
# Make
# Make install-strip // generate slimming applications and libraries
Compile qt-x11-opensource-src-4.5.1-arm
Go to the/usr/local/QT/qt-x11-opensource-src-4.5
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.