본문 바로가기

전체 글211

QCustomPlot를 사용해서 Ping 결과를 그래프로 표시하기 목차 들어가기 앞서, Qt로 ping 결과 출력하기와 그래프 라이브러리인 QCustomPlot 소개를 했는데, ping 결과를 QCustomPlot으로 표시하는 것을 해보려 한다. 이왕이면 그래프로 보는 것이 직관적이니까... 2022.08.02 - [놀기/Qt] - Qt로 ping 결과 출력하기 Qt로 ping 결과 출력하기 목차 시작하기 다들 ping에 대해서 대충은 알 것이다. 물론, 나도 대충만 알고 자세히는 모른다. 어쨌든, OS에 ping이라는 프로그램이 기본으로 포함되어 있고 이 프로그램을 사용하여 쉽게 ping 테 busyman.tistory.com 2022.08.03 - [놀기/Qt] - QCustomPlot - Qt로 그래프를 그려보자. QCustomPlot - Qt로 그래프를 그려보자.. 2022. 8. 10.
qcow2 / raw 간의 image 변환 qemu-img 설치 $ sudo apt install qemu-img qcow2 → raw 변환 $ qemu-img convert -f qcow2 -O raw image.qcow2 image.img raw → qcow2 변환 $ qemu-img convert -f raw -O qcow2 image.img image.qcow2 raw / qcow2 파일 정보 (image partition 구성에 따라 다를 수 있음) $ file image.qcow2 image.qcow2: QEMU QCOW2 Image (v3), 17179869184 bytes $ file image.img image.img: DOS/MBR boot sector; partition 1 : ID=0x83, active, start-CHS .. 2022. 8. 10.
QCustomPlot - Qt로 그래프를 그려보자. https://www.qcustomplot.com/ Qt Plotting Widget QCustomPlot - Introduction QCustomPlot is a Qt C++ widget for plotting and data visualization. It has no further dependencies and is well documented. This plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high perfo www.qcustomplot.com QCustomPlot은 플로팅 및 데이터 시각화를 위한 Qt C++ 위젯이다. Qt.. 2022. 8. 3.
warning: '_sleep' is deprecated Qt에서 sleep() 함수를 사용하면 아래와 같이 에러가 난다. warning: '_sleep' is deprecated: This function or variable has been superceded by newer library or operating system functionality. Consider using Sleep instead. See online help for details. sleep() 함수를 억지로 쓸 방법은 있겠지만, 쓰지 말라고 하면 다 이유가 있지 않을까? 암튼.... QThread를 include 한 후에 아래와 같이 sleep(), msleep(), usleep()를 사용한다. https://doc.qt.io/qt-6/qthread.html#static-publi.. 2022. 8. 1.