Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
05-16 04:51
관리 메뉴

nomad-programmer

[OS/Rocky] Qt6 OpenSource Compile 본문

OS/Rocky

[OS/Rocky] Qt6 OpenSource Compile

scii 2023. 7. 15. 02:37

실행 전 설치해야 할 패키지

2023.09.13 - [OS/Rocky] - [OS/Rocky] Rocky Linux9 - FFMPEG 컴파일 및 설치

 

[OS/Rocky] Rocky Linux9 - FFMPEG 컴파일 및 설치

FFMPEG 설치 스크립트를 새롭게 갱신하였다. 5년전에 만든 것이 제대로 동작하지 않아 현 시점에 잘 동작하도록 수정하였다. 필요하신 분은 사용하면 된다. 참고로 루트 계정이 아닌 일반 계정으

nomad-programmer.tistory.com

dnf install xcb-util-devel gcc-c++ mesa-libGL-devel mesa-libGLU-devel libXcomposite-devel libXcursor-devel libXi-devel libXtst-devel zlib-devel libpng-devel freetype-devel fontconfig-devel

dnf install nss-devel dbus-devel libxkbcommon-devel cups-devel libstdc++-devel libstdc++-static python3-pip gperf ninja-build libXScrnSaver tcsh gcc-c++ mesa-libGL-devel mesa-libGLU-devel libXi-devel
pip3 install html5lib

# nodejs
curl -sL https://rpm.nodesource.com/setup_18.x -o nodesource_setup.sh
bash nodesource_setup.sh
dnf install nodejs

Qt6 오픈소스 컴파일

오픈소스 파일

https://www.qt.io/offline-installers

 

Download Source Package Offline Installers | Qt

Download Qt Creator and Qt source packages offline. Whether you're installing for the first time or using the Qt Maintenance Tool, Qt has you covered.

www.qt.io


../configure -prefix /opt/Qt6.5.1 -make examples -opensource
cmake --build . --parallel
cmake --install .

########################################

# 아래는 example을 컴파일 시키지 말고 소스코드만 존재. 내가 원할 때 필요한 것 개별 컴파일
# 이렇게 하지 않으면 example 소스 코드를 볼 수가 없다.
~/qt-source/configure -make examples -- -D QT_NO_MAKE_EXAMPLES=ON
cmake --build . --parallel
cmake --build . --parallel --target notepad

https://doc.qt.io/qt-6/configure-options.html

 

Qt Configure Options | Qt 6.5

 

doc.qt.io

https://doc.qt.io/qt-6/linux-building.html

 

Qt for Linux/X11 - Building from Source | Qt 6.5

 

doc.qt.io

 

Comments