Nut
Nut copied to clipboard
tst_basic sample Nothing created,just __change_logs table created
Describe the bug
I have tested tst_basic sample with Qt console application in vs2019, but nothing create in database just __change_logs table created.
the output in console window:
the result in Mysql WorkBench:
My code structure:
Is there something wrong with my code?
Development platform:
- OS: [Win10 x64]
- Qt version [e.g. 5.14.2]
- Compiler [e.g. vs2019]
- Database [MYSQL8.0]
Hi Thanks for reporting
Can you please test it with qt6 branch?
OK, I will test with qt6 branch in next day.
I have tested with Qt6 branch tst_basic sample with Qt console application in vs2019,but nothing create in database just __change_logs table created too. I test the default branch "tests.pro project" with Qt Creator ,everything was going well,may be something wrong with compile setting in vs2019.
I have debuged with Qt5Nut resource code (vs2019),found q->metaObject()->classInfoCount() in database.cpp line 216 return 0 ,this line is use for create table list.
how to fix it?