-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
error: redefinition of ‘struct QMetaTypeId<QSocketNotifier::Type>’ #613
Comments
Hello, |
Thank you so, so much! That was a great help! I have it compiled on Ubuntu now. FYI, here is a list of packages I had to install in case anyone needs them:
|
I'm now trying to get candle running on a raspberry pi 4, running ubuntu desktop 22.04 (jammy). I was thinking I needed an environment variable, but not sure. When not using any variables, candle starts, but the visualizer is blank. When I set the QT_QPA_PLATFORM variable to eglfs, I get the following error, any ideas on how to resolve this issue?
System info:
|
I have no experience with RPi 4 + jammy + Candle 1.2b yet, but I've successfully built and run Candle-1.1 with fixes on RPi 3 B + Raspbian (bullseye). Here it is Candle-1.1.9-armhf.AppImage. |
Versions
PC info
Describe the bug
During compile of Candle version 1.2.15b, we're getting an error compiling qtscript_QSocketNotifier.cpp:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Obviously would like to have a clean compile happen.
Example compile log showing the error
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -Iinclude -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtScript -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qtscript_QSocketNotifier.o ../../generated_cpp/com_trolltech_qt_core/qtscript_QSocketNotifier.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtScript/qscriptengine.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtScript/QScriptEngine:1,
from ../../generated_cpp/com_trolltech_qt_core/qtscript_QSocketNotifier.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:2060:12: error: redefinition of ‘struct QMetaTypeIdQSocketNotifier::Type’
2060 | struct QMetaTypeId< TYPE >
| ^~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: