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

If there is an error, how to solve it? #14

Open
Liu-Peiming opened this issue Apr 4, 2022 · 1 comment
Open

If there is an error, how to solve it? #14

Liu-Peiming opened this issue Apr 4, 2022 · 1 comment

Comments

@Liu-Peiming
Copy link

The following error occurred while executing the "make" command:
/home/pi/libcutefish/screen/outputmodel.cpp: In member function ‘bool OutputModel::setReplicationSourceIndex(int, int)’:
/home/pi/libcutefish/screen/outputmodel.cpp:606:21: error: ‘class KScreen::Output’ has no member named ‘setExplicitLogicalSize’; did you mean ‘explicitLogicalSize’?
606 | output.ptr->setExplicitLogicalSize(QSizeF());
| ^~~~~~~~~~~~~~~~~~~~~~
| explicitLogicalSize
/home/pi/libcutefish/screen/outputmodel.cpp:617:21: error: ‘class KScreen::Output’ has no member named ‘setExplicitLogicalSize’; did you mean ‘explicitLogicalSize’?
617 | output.ptr->setExplicitLogicalSize(source->explicitLogicalSize());
| ^~~~~~~~~~~~~~~~~~~~~~
| explicitLogicalSize
make[2]: *** [screen/CMakeFiles/cutefishscreen_qmlplugins.dir/build.make:160:screen/CMakeFiles/cutefishscreen_qmlplugins.dir/outputmodel.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:750:screen/CMakeFiles/cutefishscreen_qmlplugins.dir/all] 错误 2
make: *** [Makefile:149:all] 错误 2

@SkatoriDev
Copy link

Change the function call to setLogicalSize
#6 (comment)

For some reason, reverting this fix helped me on the last Kubuntu's KScreen

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