fet timetable : custom build (windows 10-minGw) #fail
step 1. โหลด Qt 6.2.0
**กรณีจะ compile แค่ตัวที่ใช้ผ่าน command line (ลองแล้ว ไม่เวิร์ค!! compile ผ่าน แต่รันไม่ได้)
แล้วติดตั้ง
แล้วเลือก Qt 6.2 for desktop development ดังภาพ
step 2.
หลังจากติดตั้งแล้ว ไปที่ที่แตกไฟล์ fet source code
step 3.
เปิดโปรเจ็กด้วยโปรแกรม Qt แล้วเลือก build mode เป็น releasestep 4.
ทำการ build project
-----------------------------------
**กรณี Qt จาก sourcestep 1. โหลดไฟล์ fet source code
https://download.qt.io/archive/qt/6.1/6.1.3/single/qt-everywhere-src-6.1.3.zip.mirrorlist
แตกไฟล์ด้วยคำสั่ง 7z.exe x ชื่อไฟล์.zip
(ห้ามดับเบิ้ลคลิก เพราะจะค้าง)
step 2.
download และติดตั้ง strawberry perl ไม่งั้น config cmake ไม่ผ่าน
https://strawberryperl.com/
step 3.
ไปที่ D:\Qt\6.1.3\ แล้วพิมพ์คำสั่ง
configure.bat -opensource -confirm-license -platform win32-g++ -schannel -opengl desktop -release -nomake examples -nomake tests -prefix C:\Qt\6.1.3
step 4.
cmake config & generate
step 5. ไปที่ build dir
mingw32-make -j 4 (ได้แค่ 16% ก็ Error)
mingw32-make install
..
ความคิดเห็น
แสดงความคิดเห็น