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

Backend swapRow errors #32

Open
jcpconecomp opened this issue Jul 12, 2020 · 1 comment
Open

Backend swapRow errors #32

jcpconecomp opened this issue Jul 12, 2020 · 1 comment

Comments

@jcpconecomp
Copy link

Getting started on Ubuntu 20.04, go version go1.14.4. I have Qt 5.9, 5.13.0(under therecipe), 5.14.2 and 5.15.0 installed. The 2 simpler examples build and run fine using the -p linux option. However any example with the Backend yield errors like this:
listmodel.cpp: In member function ‘void QamelListModel::swapRow(int, int)’:
listmodel.cpp:143:24: warning: ‘void QList::swap(int, int) [with T = QVariant]’ is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations]
143 | _contents.swap(i, j);
for listmodel and tablemodel (though neither is used in the example) when 5.13 and above are used and a different error for 5.9.
Does anyone have any suggestions

@muesli
Copy link

muesli commented May 13, 2021

These aren't actually errors, but deprecation warnings.

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