본문 바로가기
반응형

전체 글193

How to grant USB device permission to general user on Ubuntu (Linux 우분투에서 일반 유저에게 usb디바이스 권한 부여하는 방법) Linux Solution How to grant USB device permission to general user(일반 유저에게 usb디바이스 권한 부여하는 방법) 리눅스에서 애플리케이션을 개발하다보면, usb디바이스와의 연결이 필요한 기능을 개발할 때가 있다.이 때, usb 디바이스에 접근이 되지 않는 문제가 발생하곤 한다. libusb 기반의 라이브러리를 사용할 경우, LIBUSB_ACCESS_ERROR가 발생할 것이다.해결책은 아래 명령어를 순서대로 입력하는 것이다. 터미널을 열고 아래 명령어를 하나씩 입력해보자. [English] (When developing applications in Linux, there are times when developing functions that requi.. 2022. 10. 12.
How to Deploy Qt project using cqtdeployer on Ubuntu/Windows (우분투/윈도우에서 cqtdeployer 사용하여 Qt프로젝트 배포하는 방법) How to Deploy Qt project using cqtdeployer on Ubuntu/Windows(우분투/윈도우에서 cqtdeployer 사용하여 Qt프로젝트 배포하는 방법) Qt프로젝트를 배포하려면, 개발자가 아래 세 단계를 처리해야한다.(To deploy a Qt project, a developer has to go through the three steps below.)  Qt프로젝트 빌드 ($ make ~~)qmake 명령어를 사용하여 makefile 생성make 명령어를 사용하여 빌드Qt, qml 동작에 필요한 라이브러리 수집 (CQtDeployer 실행) & 서드파티 라이브러리(.so파일) 수집deb파일 만들기 위 세 단계 중 1단계는 Qt Creator 빌드를 하거나 각 OS환경.. 2022. 10. 9.
Running as root without --no-sandbox is not supported - Solution(에러 해결 방법) [Linux][Qt] Running as root without --no-sandbox is not supported - Solution(에러 해결 방법) 문제 상황 Root권한으로 qt프로젝트나 크롬 실행 파일 등을 실행하면 나타나는 에러이다. (아래 에러 메시지) 이 에러로 인해 잘 동작중이던 프로그램이 crash되곤 한다. (This error appears when running a qt project or a chrome executable file with root privileges. (error message below) Due to this error, programs that were working well often crash.) > 해결 방법 sudo로 실행해서 발생한 에러이다. 보.. 2022. 10. 8.
qt collect2 error ld returned 1 exit status - Solution(에러 해결 방법) qt collect2 error ld returned 1 exit status - Solution(에러 해결 방법) 문제 상황 (problem situation) Qt로 개발하다보면, issue 탭에는 별 다른 에러메시지가 없다가 마지막에 아무런 상세 설명 없이 qt collect2 error ld returned 1 exit status 에러 메시지가 표시될 때가 있다. 난감하겠지만 아래 방법을 적용하면 해결 될 것이다. [English](When developing with Qt, there are no other error messages in the issues tab, but without any detailed explanation at the end. qt collect2 error ld r.. 2022. 10. 7.
반응형