Ubuntu18.04->Ubuntu 16.04 다운그래이드

이전에 Qt 를 위한 라이브러리를 설치하였다.

 

현재 작성기준 5.15.0 RC 까지 나온 것으로 보인다.

 

qt5.14.2 code Download

압축해제 

 

$ cd qt-everywhere-src-5.14.2

./configure --prefix=/opt/qt5.14.2

+ /home/Project/kj/Qt5.14/qt-everywhere-src-5.14.2/qtbase/configure -top-level --prefix=/opt/qt5.14.2
Creating qmake...
o, y (openSOurce) license (Yes)
블라블라~~ 라이브러리를 체크함.

WARNING: Tool gperf is required to build QtWebEngine.

WARNING: QtWebEngine will not be built.

WARNING: QtPdf will not be built.
sudo apt-get install gperf <-- 해도 안먹힘


clang 설치

$ sudo apt-get install libclang-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following additional packages will be installed:

libclang-6.0-dev libclang-common-6.0-dev libobjc-7-dev libobjc4

The following NEW packages will be installed:

libclang-6.0-dev libclang-common-6.0-dev libclang-dev libobjc-7-dev libobjc4

0 upgraded, 5 newly installed, 0 to remove and 157 not upgraded

Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)

Compiler: gcc 7.5.0

Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header rdrnd shani x86SimdAlways shared shared rpath release c++11 c++14 c++1z concurrent dbus reduce_exports reduce_relocations stl

Build options:

Mode ................................... release

Optimize release build for size ........ no

Building shared libraries .............. yes

Using C standard ....................... C11

Using C++ standard ..................... C++17

Using ccache ........................... no

Using new DTAGS ........................ yes

Relocatable ............................ yes

Using precompiled headers .............. yes

Using LTCG ............................. no

Target compiler supports:

SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2

AVX .................................. AVX AVX2

AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI

Other x86 ............................ AES F16C RDRAND SHA

Intrinsics without -mXXX option ...... yes

Build parts ............................ libs examples tools

Qt modules and options:

Qt Concurrent .......................... yes

Qt D-Bus ............................... yes

Qt D-Bus directly linked to libdbus .... yes

Qt Gui ................................. yes

Qt Network ............................. yes

Qt Sql ................................. yes

Qt Testlib ............................. yes

Qt Widgets ............................. yes

Qt Xml ................................. yes

Support enabled for:

Using pkg-config ....................... yes

udev ................................... yes

Using system zlib ...................... yes

Zstandard support ...................... no

Qt Core:

DoubleConversion ....................... yes

Using system DoubleConversion ........ no

GLib ................................... yes

iconv .................................. no

ICU .................................... yes

Built-in copy of the MIME database ..... yes

Tracing backend ........................ <none>

Logging backends:

journald ............................. no

syslog ............................... no

slog2 ................................ no

PCRE2 .................................. yes

Using system PCRE2 ................... no

Qt Network:

getifaddrs() ........................... yes

IPv6 ifname ............................ yes

libproxy ............................... no

Linux AF_NETLINK ....................... yes

OpenSSL ................................ yes

Qt directly linked to OpenSSL ........ no

OpenSSL 1.1 ............................ yes

DTLS ................................... yes

OCSP-stapling .......................... yes

SCTP ................................... no

Use system proxies ..................... yes

GSSAPI ................................. no

Qt Gui:

Accessibility .......................... yes

FreeType ............................... yes

Using system FreeType ................ yes

HarfBuzz ............................... yes

Using system HarfBuzz ................ yes

Fontconfig ............................. yes

Image formats:

GIF .................................. yes

ICO .................................. yes

JPEG ................................. yes

Using system libjpeg ............... yes

PNG .................................. yes

Using system libpng ................ yes

Text formats:

HtmlParser ........................... yes

CssParser ............................ yes

OdfWriter ............................ yes

MarkdownReader ....................... yes

Using system libmd4c ............... no

MarkdownWriter ....................... yes

EGL .................................... yes

OpenVG ................................. no

OpenGL:

Desktop OpenGL ....................... yes

OpenGL ES 2.0 ........................ no

OpenGL ES 3.0 ........................ no

OpenGL ES 3.1 ........................ no

OpenGL ES 3.2 ........................ no

Vulkan ................................. yes

Session Management ..................... yes

Features used by QPA backends:

evdev .................................. yes

libinput ............................... yes

INTEGRITY HID .......................... no

mtdev .................................. yes

tslib .................................. no

xkbcommon .............................. yes

X11 specific:

XLib ................................. yes

XCB Xlib ............................. yes

EGL on X11 ........................... yes

QPA backends:

DirectFB ............................... no

EGLFS .................................. yes

EGLFS details:

EGLFS OpenWFD ........................ no

EGLFS i.Mx6 .......................... no

EGLFS i.Mx6 Wayland .................. no

EGLFS RCAR ........................... no

EGLFS EGLDevice ...................... yes

EGLFS GBM ............................ yes

EGLFS VSP2 ........................... no

EGLFS Mali ........................... no

EGLFS Raspberry Pi ................... no

EGLFS X11 ............................ yes

LinuxFB ................................ yes

VNC .................................... yes

XCB:

Using system-provided XCB libraries .. no

XCB XKB .............................. no

XCB XInput ........................... yes

Native painting (experimental) ....... no

GL integrations:

GLX Plugin ......................... yes

XCB GLX .......................... yes

EGL-X11 Plugin ..................... yes

Qt Sql:

SQL item models ........................ yes

Qt Widgets:

GTK+ ................................... no

Styles ................................. Fusion Windows

Qt PrintSupport:

CUPS ................................... no

Qt Sql Drivers:

DB2 (IBM) .............................. no

InterBase .............................. no

MySql .................................. no

OCI (Oracle) ........................... no

ODBC ................................... no

PostgreSQL ............................. no

SQLite2 ................................ no

SQLite ................................. yes

Using system provided SQLite ......... no

TDS (Sybase) ........................... no

Qt Testlib:

Tester for item models ................. yes

Serial Port:

ntddmodm ............................... no

Qt SerialBus:

Socket CAN ............................. yes

Socket CAN FD .......................... yes

SerialPort Support ..................... yes

Further Image Formats:

JasPer ................................. no

MNG .................................... no

TIFF ................................... yes

Using system libtiff ................. yes

WEBP ................................... yes

Using system libwebp ................. yes

Qt QML:

QML network support .................... yes

QML debugging and profiling support .... yes

QML just-in-time compiler .............. yes

QML sequence object .................... yes

QML XML http request ................... yes

QML Locale ............................. yes

Qt QML Models:

QML list model ......................... yes

QML delegate model ..................... yes

Qt Quick:

Direct3D 12 ............................ no

AnimatedImage item ..................... yes

Canvas item ............................ yes

Support for Qt Quick Designer .......... yes

Flipable item .......................... yes

GridView item .......................... yes

ListView item .......................... yes

TableView item ......................... yes

Path support ........................... yes

PathView item .......................... yes

Positioner items ....................... yes

Repeater item .......................... yes

ShaderEffect item ...................... yes

Sprite item ............................ yes

QtQuick3D:

Assimp ................................. yes

System Assimp .......................... no

Qt Scxml:

ECMAScript data model for QtScxml ...... yes

Qt Gamepad:

SDL2 ................................... no

Qt 3D:

Assimp ................................. yes

System Assimp .......................... no

Output Qt3D Job traces ................. no

Output Qt3D GL traces .................. no

Use SSE2 instructions .................. yes

Use AVX2 instructions .................. no

Aspects:

Render aspect ........................ yes

Input aspect ......................... yes

Logic aspect ......................... yes

Animation aspect ..................... yes

Extras aspect ........................ yes

Qt 3D Renderers:

OpenGL Renderer ........................ yes

Qt 3D GeometryLoaders:

Autodesk FBX ........................... no

Qt Wayland Drivers:

EGL .................................... yes

Raspberry Pi ........................... no

XComposite EGL ......................... no

XComposite GLX ......................... no

DRM EGL ................................ yes

libhybris EGL .......................... no

Linux dma-buf server buffer integration . yes

Vulkan-based server buffer integration . yes

Shm emulation server buffer integration . yes

Qt Wayland Client Shell Integrations:

xdg-shell .............................. yes

xdg-shell unstable v5 (deprecated) ..... yes

xdg-shell unstable v6 .................. yes

ivi-shell .............................. yes

wl-shell (deprecated) .................. yes

Qt Wayland Client ........................ yes

Qt Wayland Compositor .................... yes

Qt Wayland Compositor Layer Plugins:

VSP2 hardware layer integration ........ no

Qt Bluetooth:

BlueZ .................................. no

BlueZ Low Energy ....................... no

Linux Crypto API ....................... no

Native Win32 Bluetooth ................. no

WinRT Bluetooth API (desktop & UWP) .... no

WinRT advanced bluetooth low energy API (desktop & UWP) . no

Qt Sensors:

sensorfw ............................... no

Qt Quick Controls 2:

Styles ................................. Default Fusion Imagine Material Universal

Qt Quick Templates 2:

Hover support .......................... yes

Multi-touch support .................... yes

Qt Positioning:

Gypsy GPS Daemon ....................... no

WinRT Geolocation API .................. no

Qt Location:

Qt.labs.location experimental QML plugin . yes

Geoservice plugins:

OpenStreetMap ........................ yes

HERE ................................. yes

Esri ................................. yes

Mapbox ............................... yes

MapboxGL ............................. yes

Itemsoverlay ......................... yes

QtXmlPatterns:

XML schema support ..................... yes

Qt Multimedia:

ALSA ................................... yes

GStreamer 1.0 .......................... yes

GStreamer 0.10 ......................... no

Video for Linux ........................ yes

OpenAL ................................. no

PulseAudio ............................. yes

Resource Policy (libresourceqt5) ....... no

Windows Audio Services ................. no

DirectShow ............................. no

Windows Media Foundation ............... no

Qt TextToSpeech:

Flite .................................. no

Flite with ALSA ........................ no

Speech Dispatcher ...................... no

Qt Tools:

QDoc ................................... no

Qt WebEngine Build Tools:

Use System Ninja ....................... yes

Use System Gn .......................... no

Jumbo Build Merge Limit ................ 8

Developer build ........................ no

QtWebEngine required system libraries:

fontconfig ........................... yes

dbus ................................. yes

nss .................................. no

khr .................................. yes

glibc ................................ yes

QtWebEngine required system libraries for qpa-xcb:

x11 .................................. yes

libdrm ............................... yes

xcomposite ........................... no

xcursor .............................. yes

xi ................................... no

xtst ................................. no

Optional system libraries used:

re2 .................................. no

icu .................................. no

libwebp, libwebpmux and libwebpdemux . yes

opus ................................. no

ffmpeg ............................... no

libvpx ............................... no

snappy ............................... no

glib ................................. yes

zlib ................................. yes

minizip .............................. no

libevent ............................. no

jsoncpp .............................. no

protobuf ............................. no

libxml2 and libxslt .................. no

lcms2 ................................ yes

png .................................. yes

JPEG ................................. yes

harfbuzz ............................. no

freetype ............................. yes

 

Note: Also available for Linux: linux-clang linux-icc

 

Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.

 

Note: The following modules are not being compiled in this configuration:

webenginecore

webengine

webenginewidgets

webengine 은 뭔가 안되는것 같음.

 

그냥 고 ...

$ make -j8 

시작 16:18 분

끝 17:28 분

 

$ make install

 

설치된 lib폴더로 이동 

$ cd /opt/qt5.14.2/lib

$ export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH

예제 폴더 이동후 실행 ./appname

 

잘도네요..

quickcontrols, quickcontrols2 에 예제는 동일한 것으로 보인다. Qt5.13.2 == Qt5.14.2

'Qt' 카테고리의 다른 글

gdbus 관련  (0) 2019.08.01

 

참고 사이트 :  https://doc.qt.io/qt-5/signalsandslots.html

 

 

Signals & Slots | Qt Core 5.13.1

Signals & Slots Signals and slots are used for communication between objects. The signals and slots mechanism is a central feature of Qt and probably the part that differs most from the features provided by other frameworks. Signals and slots are made poss

doc.qt.io

 

signal is delivered to a slot immediately or queued for delivery at a later time.

 

시그널과 슬롯은 objects 사이의 커뮤니케이션을 위하여 사용된다. 

Signals and slots are made possible by Qt's meta-object system.

 

The Meta-Object System | Qt Core 5.13.1

The Meta-Object System Qt's meta-object system provides the signals and slots mechanism for inter-object communication, run-time type information, and the dynamic property system. The meta-object system is based on three things: The QObject class provides

doc.qt.io

소개 

Other toolkits achieve this kind of communication using callbacks. A callback is a pointer to a function, so if you want a processing function to notify you about some event you pass a pointer to another function (the callback) to the processing function. The processing function then calls the callback when appropriate. While successful frameworks using this method do exist, callbacks can be unintuitive and may suffer from problems in ensuring the type-correctness of callback arguments.

 

Signals and Slots

https://doc.qt.io/qt-5/signalsandslots.html picture-1

 

 

 

Qt::Connection Type

 

1. Qt::AutoConnection (Default) 0

(Default) If the receiver lives in the thread that emits the signal, Qt::DirectConnection is used. Otherwise, Qt::QueuedConnection is used. The connection type is determined when the signal is emitted.

 

수신자가 신호를 전달하는 스레드에 있으면 Qt::DirectConnection 을 사용.

그렇지 않으면 Qt :: QueuedConnection 연결 유형은 시그널을 emmited 될 때 결정한다.

 

2. Qt::DirectConnection

The slot is invoked immediately when the signal is emitted. The slot is executed in the signalling thread.

시그널이 emmited 되면 즉시 슬롯이 호출된다. 슬롯은 시그널링 슫레드에서 실행된다.

 

3. Qt::QueuedConnection

The slot is invoked when control returns to the event loop of the receiver's thread. The slot is executed in the receiver's thread.

제어가 수신자 스레드의 이벤트 루프로 리턴 될 때 슬롯이 호출된다. 슬롯은 수신기의 스레드에서 실행된다.

 

4. Qt::BlockingQueuedConnection

Same as Qt::QueuedConnection, except that the signalling thread blocks until the slot returns. This connection must not be used if the receiver lives in the signalling thread, or else the application will deadlock.

슬롯이 리턴될 때까지 신호스레드가 차단된다는 점을 제외하고  Qt::QueuedConnection과 동일하다. 수신기가 신호 스레드에 있는 경우 연결을 사용하지 않아야된다. 그렇지 않으면 Application이 교착 상태가 된다.

 

5. Qt::UniqueConnection

This is a flag that can be combined with any one of the above connection types, using a bitwise OR. When Qt::UniqueConnection is set, QObject::connect() will fail if the connection already exists (i.e. if the same signal is already connected to the same slot for the same pair of objects). This flag was introduced in Qt 4.6.

 

비트 단위 OR 을 사용하여 위의 연결 유형 중 하나와 결합 할 수 있는 플래그 이다. 

Qt::UniqueCOnnection 이 설정되면 연결이 이미지 존재하는 경우 ( 즉, 동일한 신호가 동일한 객체 쌍의 동일한 슬롯에 이미 연결된 경우)

QObject::connect() 가 실패한다. 이 플래그는 Qt 4.6에서 도입되었다.

 

 

 

signalling thread?

receiver's thread?

 

 

 

'Qt > 활용' 카테고리의 다른 글

라즈베리파이4 구매  (0) 2019.07.01
특정 폴더 제외하고 검색하기  (0) 2019.07.01
[Qt] printf("05d")  (0) 2019.01.04
[Ubuntu16.04] 한글설정하기  (0) 2018.12.21
[Linux] Monitoring Qt  (0) 2018.12.14

링크 

GDBus 튜토리얼(GDBus tutorial)

https://makersweb.net/opensource/13958

'Qt' 카테고리의 다른 글

[Linux] Qt5.14.2 설치  (0) 2020.05.11

https://www.aliexpress.com/item/33050010815.html?spm=a2g0o.cart.0.0.18c73c003RfR6Q

 

US $52.9 |Latest Raspberry Pi 4 Model B with 1/2/4GB RAM BCM2711 Quad core Cortex A72 ARM v8 1.5GHz Support 2.4/5.0 GHz WIFI Blu

Smarter Shopping, Better Living! Aliexpress.com

www.aliexpress.com

 

'Qt > 활용' 카테고리의 다른 글

[Qt] Connect  (0) 2019.10.15
특정 폴더 제외하고 검색하기  (0) 2019.07.01
[Qt] printf("05d")  (0) 2019.01.04
[Ubuntu16.04] 한글설정하기  (0) 2018.12.21
[Linux] Monitoring Qt  (0) 2018.12.14

https://yangyag.tistory.com/78

 

tar로 파일 묶을시 특정 폴더 제외 하는 방법

--exclude 옵션을 붙여주면 된다. tar [옵션] [압축할 파일 명] [제외할 특정 폴더] [압축할 파일 또는 디렉토리] 예를 들어 tar cvf abc.tar.gz --exclude=logs * 라고 하면 logs 라는 폴더만 제외한 모든 파일..

yangyag.tistory.com

 

 

tar로 파일 묶을시 특정 폴더 제외 하는 방법

--exclude 옵션을 붙여주면 된다. tar [옵션] [압축할 파일 명] [제외할 특정 폴더] [압축할 파일 또는 디렉토리] 예를 들어 tar cvf abc.tar.gz --exclude=logs * 라고 하면 logs 라는 폴더만 제외한 모든 파일..

yangyag.tistory.com

 

http://hoonkyu.blogspot.com/2012/05/find-exclude.html

 

find명령에서 특정 디렉토리 제외하고 찾기(exclude)

출처 :  http://coffeenix.net/board_view.php?bd_code=1678 제  목 : find명령에서 특정 디렉토리 제외하고 찾기(exclude) 작성자 : 좋은진호(truefeel,  http://coffeenix.net...

hoonkyu.blogspot.com

 

/

find . ! \( -path './foo/bar' -prune \) -name "qt5*"

find . ! \( -path './gdp-src-build' -prune \) -name "qt5*"

 

 find . ! \( \( -path './gdp-src-build' -o -path './coffeenix/temp' \) -prune \) -name "*.bak"

 

meta-qt5

 

./meta-genivi-dev/meta-qt5/recipes-qt/qt5

 cd ./meta-genivi-dev/meta-qt5/recipes-qt/qt5

 

 

 

'Qt > 활용' 카테고리의 다른 글

[Qt] Connect  (0) 2019.10.15
라즈베리파이4 구매  (0) 2019.07.01
[Qt] printf("05d")  (0) 2019.01.04
[Ubuntu16.04] 한글설정하기  (0) 2018.12.21
[Linux] Monitoring Qt  (0) 2018.12.14

QString 을 이용하여 문자열 합치기


숫자앞에 0채우기


int number= 11;

QString string;

string = QString::number(number).rightJustified(5,'0');



결과 00011 

'Qt > 활용' 카테고리의 다른 글

[Qt] Connect  (0) 2019.10.15
라즈베리파이4 구매  (0) 2019.07.01
특정 폴더 제외하고 검색하기  (0) 2019.07.01
[Ubuntu16.04] 한글설정하기  (0) 2018.12.21
[Linux] Monitoring Qt  (0) 2018.12.14


https://github.com/GENIVI/capicxx-wamp-runtime


WAMP


설치방법 

* Install build tools and Boost libs: sudo apt install libbz2-dev libssl-dev cmake libboost-dev libboost-system-dev libboost-thread-dev libboost-log-dev



일단조사해보면 

WAMP 란 Window + Apache + MySql +PHP 약자 

'Qt > Network' 카테고리의 다른 글

Wifi  (0) 2018.12.20
[QLocalSocket] 도매인 소켓이란  (0) 2018.12.18
[Qt] 4K download 소스  (0) 2018.12.14


위키 페이지 : https://wiki.qt.io/Qt_for_Android_known_issues


원문

  • ANDROID_NDK_PLATFORM 을 android-21 로 설정한다.
  • JDK9 에서는 동작하지 않는다. 
  • WebKit is not supported 

 설치의 어려움과 복잡함으로 인해 설치 중단..


'Qt > Qt 정보&옵션' 카테고리의 다른 글

[Window] Qt5.12.0 온라인설치  (0) 2019.01.02
[Qt5.12.0] Ubuntu 에 설치하기(.run)  (0) 2018.12.17
[Qt] 3D QT CPU 사용개선  (0) 2018.12.13
[Qt5.12 LTS]ㅣ Quick 성능향상  (0) 2018.12.13
Qt5.12 LTS 릴리즈  (0) 2018.12.13

qt 홈페이지에서 온라인 설치 프로그램 다운로드




Qt 항목에서 설치 파일 다운로드


Qt debug files for Windows desktop

Filename: qt-enterprise-windows-x86-pdb-files-desktop-5.12.0.7z

Release Date: 05.12.2018

Description: Qt debug files for Windows operating system desktop builds. The package provides pdb file archives alongside Windows offline installers. Same pdb -files are automatically installed via online installer.

약 1.7기가



실행파일 실행 qt-enterprise-windows-x86-5.12.0





'Qt > Qt 정보&옵션' 카테고리의 다른 글

Android Qt 이슈  (0) 2019.01.02
[Qt5.12.0] Ubuntu 에 설치하기(.run)  (0) 2018.12.17
[Qt] 3D QT CPU 사용개선  (0) 2018.12.13
[Qt5.12 LTS]ㅣ Quick 성능향상  (0) 2018.12.13
Qt5.12 LTS 릴리즈  (0) 2018.12.13


한글설정 다운로드

$ sudo apt-get install fcitx-hangul


우분투 설정창에서 언어 선택 Setting->Language Support

$ gnome-language-selector 

Keyboard input method system : fcitx 설정


확인완료후


Settings Keyboard -> Aplication Shortcuts 설정



나는 Shift + Scpace 사용


cd ($Qt 설치경로)/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts

 ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so  libfcitxplatforminputcontextplugin.so


링크파일 생성



'Qt > 활용' 카테고리의 다른 글

[Qt] Connect  (0) 2019.10.15
라즈베리파이4 구매  (0) 2019.07.01
특정 폴더 제외하고 검색하기  (0) 2019.07.01
[Qt] printf("05d")  (0) 2019.01.04
[Linux] Monitoring Qt  (0) 2018.12.14

+ Recent posts