@thecodemonkey86 thanks to thecodemonkey86, I compile it in qt 6.6.1 successfully, this is my note.Hope can help you. By the way, i install mysql8 on my windows 11. Copy mysql lib path and head path ...