Structure vs Class
only different: base access modifier
Structure is Public.
Class is Private.
target board Setting NFS
1. sudo apt-get install nfs-common nfs-kernel-server portmap 2. sudo vi /etc/exports /home/nfs/folder 192.168.0.*(rw,no_root_squash,async,subtree_check) 3. sudo /etc/init.d/nfs-kernel-server restart 4. mkdir /home/nfs/folder // target board 1. mount -o port=2049,nolock,proto=tcp -t nfs 192.168.0.100:/home/nfs/folder /mnt
Git Command
git init : create Git Repository in current directory
git status: check uncommit issue
git --version : check version
git add: update in staging area( staging area: buffer area between work tree and repository)
git commit: commit file in staging area
git diff : show different between work tree and staging area
git config (--global) --list: check config information(--global set global, besides current area)
git log: commit log
git log $CommitName: show log in CommitName
git clone $repo $folder: copy from $repo and $local folder
git fetch: update local repo(though remote branch)
git push: push origin repo
git gc: repo log optimization
ADDING....
git status: check uncommit issue
git --version : check version
git add: update in staging area( staging area: buffer area between work tree and repository)
git commit: commit file in staging area
git diff : show different between work tree and staging area
git config (--global) --list: check config information(--global set global, besides current area)
git log: commit log
git log $CommitName: show log in CommitName
git clone $repo $folder: copy from $repo and $local folder
git fetch: update local repo(though remote branch)
git push: push origin repo
git gc: repo log optimization
ADDING....
GIT clone error / delete branch in remote repository
GIT clone Error
ERROR
fetal: internal server error
remote: internal server error
fatal: early EOF
fatal: index-pack failed
solution :
if 'origin' branch was delete in remote repo, local is update about the information and the branch is delete automatically.
cmd:
$ git remote prune origin
printf % type
%c/%C char
%s string
%p pointer value hexadecimal number
%d/%i signed decimal number
%u unsigned decimal number
%f/%F float
%e/%E ?(real number exponent ?)
%g/%G according to size, if size is small, %f/ if big is, %e
%x/%X hexadecimal number
%o octal number
%n line feed
QML and C++ Integration
Integrating QML and C++ provides a variety of opportunities, including the ability to:
1. Separate the user interface code from the application logic code, by implementing the former with QML and JavaScript within QML documents, and the latter with C++
2. Use and invoke some C++ functionality from QML (for example, to invoke your application logic, use a data model implemented in C++, or call some functions in a third-party C++ library)
3. Access functionality in the Qt QML or Qt Quick C++ API (for example, to dynamically generate images using QQuickImageProvider)
4. Implement your own QML object types from C++ — whether for use within your own specific application, or for distribution to others
source: http://doc.qt.io/qt-5/qtqml-cppintegration-overview.html
1. Separate the user interface code from the application logic code, by implementing the former with QML and JavaScript within QML documents, and the latter with C++
2. Use and invoke some C++ functionality from QML (for example, to invoke your application logic, use a data model implemented in C++, or call some functions in a third-party C++ library)
3. Access functionality in the Qt QML or Qt Quick C++ API (for example, to dynamically generate images using QQuickImageProvider)
4. Implement your own QML object types from C++ — whether for use within your own specific application, or for distribution to others
source: http://doc.qt.io/qt-5/qtqml-cppintegration-overview.html
Subscribe to:
Posts (Atom)
Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore!
🏙️ Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore! 🚨 Are you thinking about buying an apartment in 2025? 🏢 It’...
-
ERROR : Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (systemd) matches the entries enabled in DISTRO_FEATURES kiwon...
-
How the Yocto system works Processing from Developer to Yocto Developer Create .Metadata .Metadata = .bb + .patch ...
-
MySQL workbench Error: Failed to Connect to MySQL at 127.0.0.1:3306 with user name MySQL install error step 1. create connections step 2. ...