키보드 변경을 한후 Creator 상 한글이 입력되지 않았음


libfcitxplatforminputcontextplugin.so

해당 Qt 경로로 이동 후 링크파일 생성

cd /home/linux/Qt/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts


sudo ls -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so libfcitxplatforminputcontextplugin.so

'Qt' 카테고리의 다른 글

[Qt] Multithreading C++ 실수  (0) 2018.10.05
[b2qt] Error qtwebkit  (0) 2018.10.05
[rp3i] meta-boot2qt (5.12.0)  (0) 2018.10.04
[meta-boot2qt] rpi  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20

원문 : https://www.toptal.com/qt/qt-multithreading-c-plus-plus




BY ANDREI SMIRNOV - QT DEVELOPER @ TOPTAL


멀티스레딩은 쉽지안다.


race conditions, synchronization, and deadlocks and livelocks.


경쟁상태, 동기화, 데드락과 실시간락 


이를 해결하기위해 , 포기하지않고 StackOverflow 를 찾아라.

그럼에도 , 여러 답변으로부터 올바른 것을 선택하는것은 어렵다. 각 방법마다 단점이 존재한다.


위키피이아의 멀티쓰레딩을 설명하였음


 QThreadPool 과  QThread 선택하기

* Qt 프레임 워크는 멀티쓰레딩을 위한 많은 도구를 제공한다. 올바른 도구를 선택하는 것은 처음에 어려울 수 있지만 실제로는 의사 결정방법이 두가지로 존재한다.

 Qt 에서 쓰레드를 관리하거나 직접 관리하려고 한다. 그러나 다른 중요한 기준이 있다.


  1.  이벤트 루프가 필요한 작업. 특히, 작업 실행중에 signal/slot 메커니즘을 사용하지 않는 작업

     -  QtConcurrent 와  QThreadPool + QRuunable 을 사용 함

  2.  signal/slots 을 사용하는 작업이므로 이벤트 루프가 필요한 경우 

     - Worker Objects moved to  + QThread


'Qt' 카테고리의 다른 글

[QtCreator]Ubuntu 한글 쓰기  (0) 2018.10.11
[b2qt] Error qtwebkit  (0) 2018.10.05
[rp3i] meta-boot2qt (5.12.0)  (0) 2018.10.04
[meta-boot2qt] rpi  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20


qtwebengine_git bits/c++config.h  bits/c++config.h: No such file or directory


sudo apt-get install gcc-4.8-multilib g++-4.8-multilib



gcc 5버전을 사용하고있어 5 버전으로 설치함

'Qt' 카테고리의 다른 글

[QtCreator]Ubuntu 한글 쓰기  (0) 2018.10.11
[Qt] Multithreading C++ 실수  (0) 2018.10.05
[rp3i] meta-boot2qt (5.12.0)  (0) 2018.10.04
[meta-boot2qt] rpi  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20


소스코드


git clone git://code.qt.io/yocto/meta-boot2qt


버전 정보 : Sumo

commit 578a7d90ce81e4c42163955925ae6e933ddb7dc6

Author: Mikko Gronoff <mikko.gronoff@qt.io>

Date:   Thu Oct 4 15:06:25 2018 +0300

    boot2qt-demos: update revision

 

    Remove Qt3D demo from launcher. 3D demo will be replaced with a more

    suitable candidate in the future.

 

    Change-Id: I34e4d73d62c1c42c23b234456fc3649065412e0d

    Reviewed-by: Kari Hormi <kari.hormi@qt.io>



지원가능 하드웨어 보기 :  ./b2qt-init-build-env list-devices

  Available device configurations:

  am335x-evm

  apalis-imx6

  apalis-imx8

  beagleboard

  beaglebone

  colibri-imx6

  colibri-imx7

  colibri-vf

  emulator

  h3ulcb

  imx6dlsabresd

  imx6qsabresd

  imx7dsabresd

  imx7s-warp

  imx8qmlpddr4arm2

  intel-corei7-64

  jetson-tx1

  jetson-tx2

  m3ulcb

  nitrogen6x

  nitrogen7

  raspberrypi

  raspberrypi0

  raspberrypi2

  raspberrypi3

  salvator-x

  smarc-samx6i

  tegra-t18x



export MACHINE=raspberrypi3

b2qt-init-build-env init --device raspberrypi3




/home/kj/AGL/meta-qtboot/meta-boot2qt/sources/poky/bitbake/bin/bitbake

 bitbake b2qt-embedded-qt5-image

bitbake b2qt-embedded-qt5-image


build Error : webkit 빌드시 오류 수정



Setting 정보


'Qt' 카테고리의 다른 글

[Qt] Multithreading C++ 실수  (0) 2018.10.05
[b2qt] Error qtwebkit  (0) 2018.10.05
[meta-boot2qt] rpi  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20
[Qt]Linux 바로가기 아이콘 만들기  (0) 2018.09.20


추가 라이브러리에 대해 파악하고자함.


/meta-raspberrypi-extras/recipes

 

 bootfiles  gstreamer  linux  wayland


1. bootfiles

  rpi-config_git.bbappend


config.txt 에 다음 옵션추가 "dtparam=audio=on" 


2. gstreamer  

gstreamer1.0-omx_1.10%.bbappend

 패치가 추가됨 

             file://0001-config-files-path.patch \

             file://0001-Don-t-try-to-acquire-buffer-when-src-pad-isn-t-activ.patch \

             file://0002-fix-decoder-flushing.patch \

             file://0003-no-timeout-on-get-state.patch \

             file://0004-Properly-handle-drain-requests-while-flushing.patch \

             file://0005-Don-t-abort-gst_omx_video_dec_set_format-if-there-s-.patch \

3. linux  

linux-firmware_%.bbappend  linux-raspberrypi_%.bbappend


linux-firmware_%.bbappend


소스코드 변경

SRCREV = "ba51e861f4444f51e7e83f778575a8146dc514d0"


linux-raspberrypi_%.bbappend

커널 옵션 추가

     CONFIG_UPROBE_EVENT=y

4. wayland

weston_%.bbappend


PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', 'kms', d)}"


---




CONFIG_UPROBE_EVENT ?


'Qt' 카테고리의 다른 글

[b2qt] Error qtwebkit  (0) 2018.10.05
[rp3i] meta-boot2qt (5.12.0)  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20
[Qt]Linux 바로가기 아이콘 만들기  (0) 2018.09.20
[Qt] Adding Connections  (0) 2018.09.20

New Features in Qt 5.11


  • Qt Core
    • [QTBUG-52244] QIODevice::New
  • Qt Network
  • Qt QML

    • CONFIG += qtquickcompiler 기능을 오픈소스 버전에서 사용가능, 임베디드의 경우 컴파일타임에 바이너리를 생성한다.
  • Qt Quick
    • 이미지안에 텍스트를 지원한다.
  • Qt Quick controls 2
    • AbstractButton
      • RepeatDelay 와 RepeatInterval 프로퍼티 추가
      • [QTBUG-62811] pressX 와 pressY 속성을 추가하여 누를 떄 QML에 표시한다.
  • Qt 3D
  • Qt Location
  • Qt WebEngine
    • Chromium 65 업데이트
    • 포트와 별도의 브라우저를 사용하지 않고 Embedded DevTools 을 사용
    • 쿠키 필터 설치 가능
    • Quota permissions.
  • qdoc
    • libclang 이 사용됨
  • Qt Designer
  • Qt GUI
  • Qt Widgets
  • Qt SerialBus
  • Qt Bluetooth
  • Qt Test

  • Platform Changes


'Qt' 카테고리의 다른 글

[rp3i] meta-boot2qt (5.12.0)  (0) 2018.10.04
[meta-boot2qt] rpi  (0) 2018.10.04
[Qt]Linux 바로가기 아이콘 만들기  (0) 2018.09.20
[Qt] Adding Connections  (0) 2018.09.20
[QuickItem] qquickgridview  (0) 2018.09.17

/usr/share/applications

sudo vim test.desktop


[Desktop Entry]

Version=5.8

Name=Qt Creator

Comment=Build Tools

Exec=/home/linux/Qt/Tools/QtCreator/bin/LowSpeedQt.sh

Icon=/home/linux/Qt/QtIcon.png

Terminal=false

Type=Application

Categories=Utility;Application  




$ sudo chmod +x LowSpeed.desktop

'Qt' 카테고리의 다른 글

[meta-boot2qt] rpi  (0) 2018.10.04
[Qt] 5.11 새 기능  (0) 2018.09.20
[Qt] Adding Connections  (0) 2018.09.20
[QuickItem] qquickgridview  (0) 2018.09.17
Threads Events QObjects/ko  (0) 2018.09.13


Adding Connections


위 링크 참고


사용자 인터페이스와 어플리케이션간의 이벤트 감지에 대해 알아보자


QML 은 시그널과 핸들러 방식을 사용한다. 이번트들은 signals 로 표현한다. 

시그널이 전달되었을때 시그널핸들러나 invoked 이벤트가 반응하여  동작한다.




어떻게 연결할수 있는지 아래에서 설명한다.


Connectiong Objects to Signals

Specifying Dynamic Properties

Adding Bindings Between Properties

Managing C++ Backend Objects


'Qt' 카테고리의 다른 글

[Qt] 5.11 새 기능  (0) 2018.09.20
[Qt]Linux 바로가기 아이콘 만들기  (0) 2018.09.20
[QuickItem] qquickgridview  (0) 2018.09.17
Threads Events QObjects/ko  (0) 2018.09.13
[Qt] Example  (0) 2018.08.23

Qt5.10.0/5.10.0/Src/qtdeclarative/src/quick/items


정리중


'Qt' 카테고리의 다른 글

[Qt]Linux 바로가기 아이콘 만들기  (0) 2018.09.20
[Qt] Adding Connections  (0) 2018.09.20
Threads Events QObjects/ko  (0) 2018.09.13
[Qt] Example  (0) 2018.08.23
[Qt] YAML  (0) 2018.08.23

wiki : https://wiki.qt.io/Threads_Events_QObjects/ko

'Qt' 카테고리의 다른 글

[Qt] Adding Connections  (0) 2018.09.20
[QuickItem] qquickgridview  (0) 2018.09.17
[Qt] Example  (0) 2018.08.23
[Qt] YAML  (0) 2018.08.23
[Qt 5.11] Qt Application Manager Single- vs. Multi-Process Mode  (0) 2018.08.23

+ Recent posts