본문 바로가기
C++ 200제/코딩 IT 정보

[Qt프로그래밍] 우분투 리눅스Qt 설치 방법 (Ubuntu 14.04 - 5.3.0)

by vicddory 2017. 1. 18.

[Qt프로그래밍] 우분투 리눅스Qt 설치 방법 (Ubuntu 14.04 - 5.3.0)


일단, Qt5를 설치할 준비가 되었다는 전제하에 참조한 링크의 글 중 핵심만 요약합니다. 제 경우엔 패키지 호환성 문제로 삽질을 좀 했었네요.


모든 패키지 설치 텍스트 : 다운 [클릭]



우분투 14.04 기준으로 리눅스Qt 5.3 설치 시 패키지 선택.


32비트


wget http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x86-5.3.0.run

chmod +x qt-opensource-linux-x86-5.3.0.run

./qt-opensource-linux-x86-5.3.0.run


64비트


wget http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-5.3.0.run

chmod +x qt-opensource-linux-x64-5.3.0.run

./qt-opensource-linux-x64-5.3.0.run


우분투 리눅스Qt[Qt프로그래밍, Ubuntu 14.04, Qt 5.3.0 설치]



error: g++: Command not found

Solution: sudo apt-get install build-essential


error: GL/gl.h: No such file or directory

Solution: sudo apt-get install mesa-common-dev



Compile 을 위한 패키지 설치


sudo apt-get install g++

sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

sudo apt-get install build-essential

 

저장소 업데이트


sudo apt-add-repository ppa:ubuntu-sdk-team/ppa

sudo apt-get update


Qt프로그래밍[Qt프로그래밍, Ubuntu 14.04, Qt 5.3.0 설치]


참조 4 - Ubuntu 13.04 and qwt/qtcreator troubles [클릭]

    (error: undefined reference to QwtDial::QwtDial(QWidget*) 에러 발생시)


참조 5 - QXT library not getting installed on ubuntu 14.04 [클릭]

    (Checking for db .. [failure]

     Checking for openssl .. [failure]

     Checking for xrandr .. [failure]

     Checking for zeroconf .. [failure] 에러 발생 시)


내 경우 해결 방법


apt-get remove —purge qt4-qmake


[Qt프로그래밍] 우분투 리눅스Qt 설치 방법 (Ubuntu 14.04 - 5.3.0)

댓글