/trolltech/QtEmbedded-4.5.0-x86/bin
CP... bin/qvfb/usr/local/trolltech/QtEmbedded-4.5.0-x86/bin
6. perform a test.
CD/usr/local/trolltech/QtEmbedded-4.5.0-x86
Source setenv. Sh
CD/usr/local/trolltech/QtEmbedded-4.5.0-x86/demos/books
Qvfb-width 640-height 480
./Books-qws
-----------------------------------------------------------The error message is generallyError opening buffer device/dev/fb0qscreenlinuxfb: CONNECT: no such fileOrDirectory is the x86 version of QT-embedded.The userStep 1: After
a directory of your normal users, such as/home/yoyoili/Qt4_port. Extract.
(5) enter the extracted directory.
(6) The next step is the key configuration. The port of qt4 is to configure whether to support certain features, such as OpenSSL. You can configure the configuration according to your own needs. Here, we refer to an article on the website for configuration, as shown below:
./Configure/
-Prefix/home/yoyoili/qt4_port/QT/build // specify the installation directory, which is consistent with
', 'abbr', 'b', 'bdi', 'bdo', 'br', 'cite', 'code', 'data', 'dfn', 'em', 'i', 'kbd', 'mark', 'q', 'rp', 'rt', 'rtc', 'ruby', 's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'time', 'u', 'var', 'wbr'])
Principles
A sentence consists of three parts: select text as the middle, and traverse the sibling node and parent node to get the first and last parts.
Implementation
Select text
Obtain the text first. Exit if no text exists.
const selection = win
driver, then open up a QT thread to read the key value, and send the key value through the signal. The target that needs to receive the keyboard input, declare the slot function, and receive the keyboard signal.(2) write the key driver into a standard keyboard driver to make the QTE feel like it is dealing with the standard keyboard.
The above two methods give features. Most of my projects use 1st methods, which is intuitive and easy to control. However, in some cases, 2nd methods are required.
++ mode, it is
g++ -o your_source your_source.cc
If it is C mode, it is
gcc -o your_source your_source.cc
If you like this command, you can use
(global-set-key (kbd "
Bind this command to the F7 key.
;; the following elisp code is use to;; construct the compile command automatically.;; so you don't need to write or choose the compile;; command in the minibuffer.;;;; the rule is as following:;; first, find GNUmakefile" "makefile" "Makefile";; if found
the output of the last command.C-c-Z suspends the running commandC-c-u remove the previous lineM-P: display the previous command
TextIt can only be used in text modeM-S center the current rowM-S center the current paragraphM-x center-region center the selected area
Macro command (macro-commands)C-X (beginning to define macrosC-x) final definition macroC-x e runs the macro recently definedM-n c-x e runs the recently defined macro n times.M-x name-last-KBD
aside
audio
b
bdi
bdo
blockquote
br
button
canvas
cite
code
data
datalist
del
details
dfn
div
dl
em
embed
fieldset
figure
footer
form
h1
h2
h3
h4
h5
h6
header
hr
i
iframe
img
input
ins
kbd
keygen
label
main
map
mark
math
menu
meter
nav
noscript
object
ol
-xrender-no-xkb-no-sm-no -xinerama-no-xshape-no-separate-debug-info-xplatform qws/linux-arm-g++-embedded Arm-no-armfpa-little-endian- Host-little-endian-nomake demo-nomake examples-nomake tools-nomake docs-depths 8,16,18,24-no-glib-qt-kbd-usb-qt-kb D-usb-qt-kbd-tty-qt-mouse-pc-no-glibNote: ? --PREFIX=/HOME/ADMINISTRATOR/LINUXTOOLS/ARMQT Specifies the installation path for this embedded version of QT? If you
configuration, QT4 is configured to support a certain feature, such as OpenSSL and so on. Then according to your own needs of the corresponding configuration can be, here refer to the site of an article, as follows:./configure \-prefix/home/yoyoili/qt4_port/qt/build \Specifies the directory that is installed, consistent with the directory running on the Development Board-release-shared \-fast \-PCH \-no-qt3support \-qt-sql-sqlite \-NO-LIBTIFF-NO-LIBMNG \-qt-libjpeg \-qt-zlib \-qt-libpng \-qt-fr
CSS reset refers to the style of resetting the browser. In various browsers, the CSS selector will default some values, such as when the H1 is not set to a value, display a certain size.But not all browsers use the same values, so CSS Reset is used to make the style of the Web page consistent across browsers.Here are a few of the main CSS reset codes:1. Eric MeyerHTML, body, Div, span, applet,Object, IFRAME, H1, H2, H3, H4, H5, H6, p, blockquote, Pre, A, ABBR, acronym, address, big, cite, code,
change chrome font to default Ya-Black: 1: Open Chrome browser, address bar Enter chrome://version/, view Chrome version
2: Look for "custom.css" in "My Computer" and find the relevant files. Small part of the proposal directly with the search, before the small weave for a long time did not find. You will ask the small, so many, that is it? In fact, it is easy to see, in the "Custom.css" below, you carefully observe will see that there are Baidu, 360 and so on these words, because the sm
location where the address value is stored, we can directly store the address in the storage location. Here is a small example:
MOV ax,0
MOV Es,ax
mov Word ptr es:24,offset keyboard
mov Word ptr es:26,seg keyboard
In many cases, the above programs can be executed correctly. But if the above program is executing with a sudden knock on a key, it may be problematic, and the worst is happening: The third MOV has been executed, and the fourth MOV has not yet been executed. If you knock down any key
inputMOV bx,errt1;p roper textISHEX:LODSB get the CharCMP al, ' 0 'JB ErroutForce uppercase with AL,0DFH;CMP al, ' F '; >f?JA errout; yeahh, dump thisLoop IshexCall Hexbin, make Hex bin; start address now in EDXMOV ax,dx; get low word (segment)mov es,ax; start segmentSHR edx,16 shift in offsetmov di,dx; start offsetDopage:Push es; Save registersPush diPush DSPush SIMOV ax,esmov Ds,ax make ds=esmov si,di; si=di Call ShowPage, show it Pop si; restore registersPop dsPop diPop esAdd di,51
omitted, Qtcreator will be installed by default in the/usr/local/trolltech directory; b, The QT source package extracted to the/USR/LOCAL/SRC directory, decompression, into the qt-everywhere-opensource-src-4.7.4/mkspecs/qws/linux-arm-g++/directory, Open the qmake.conf file. The contents of the amendment are as follows: (3) configuration This article is to install QT in the/usr/local/qt4arm directory, the installation of the embedded version of QT is performed as follows: (see note below)./co
:
Go to the Quick guide
H
Exit information Document
Q
Searching for nodes with regular expressions
M-s
Register
Save Area to register
C-x R S
Inserting the register contents into the buffer
C-x R I
Save current position to register
C-x R SPC
Jump to a location saved in a register
C-x R J
Keyboard macros
Start recording
same time, the SIGINT signal is sent to Init. Ignore RunLevelINITDEFAULT Specifies a default runlevel, which is scanned only when Init is first called, if RunLevelThe RunLevel field specifies multiple RunLevel, where the largest number is the default RunLevel, if theThe field is empty, Init considers the field to be 0123456, and then enters Level 6, so that it is caught in a loop that, if the Inittab file does not contain a record entry that contains Initdefault, asks the user to specify an ini
Emacs recognize the version-controlled files?The only thing to do are to open these files with Emacs:For example:
SVN Co https:172.31.8.31:4430/svn/project
Would checkout the files from a SVN server, and Emacs would recognize them automatically.4How do I use latex in emacs?5Where can I get the configuration files of Emacs?
SVN checkout Http://emcs-bk.googlecode.com/svn/trunk/emcs-bk-read-only
The above link is avail
code below.But the inside of the goods is a bit ugly, integrated Ipython bar.First read the mantra Pip install Ipython.After that, edit the following spells in the. Emacs Configuration file:;;;;;;;;;;;;;;;;;;;;;;; Begin python;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;(Require ' Python);; Use Ipython(setq python-command "Ipython")(setqPython-shell-interpreter "Ipython"Python-shell-interpreter-args ""Python-shell-prompt-regexp "in \\[[0-9]+\\]:"Python-shell-prompt-output-regexp "out\\[[0-9]+\\]:"Pyth
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.