Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu2204编译过不了 #94

Closed
leoepoot opened this issue Oct 13, 2022 · 1 comment
Closed

ubuntu2204编译过不了 #94

leoepoot opened this issue Oct 13, 2022 · 1 comment

Comments

@leoepoot
Copy link

moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::index(int, int, QModelIndex const&) const’未定义的引用
moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::parent(QModelIndex const&) const’未定义的引用
moc_scriptsettingmodel.o:moc_scriptsettingmodel.cpp:vtable for ScriptSettingModel: 错误: 对‘ScriptSettingModel::rowCount(QModelIndex const&) const’未定义的引用
collect2: error: ld returned 1 exit status
make: *** [Makefile:974:KikoPlay] 错误 1

@Protostars
Copy link
Collaborator

#include <QModelIndex> 试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants