-
-
Notifications
You must be signed in to change notification settings - Fork 549
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
Version 1.2b on Raspberry Pi? #488
Comments
Hi, |
Hello, I made the changes to the 2 files as outlined. Below is what I get when I qmake and make. pi@raspberrypi:~/Downloads/candle 12b/Candle-1.2b/src $ qmake candle.pro pi@raspberrypi:~/Downloads/candle 12b/Candle-1.2b/src $ make Thanks, |
This is not a complete tutorial. I don't currently have time to resolve the remaining issues. Hopefully someone can continue where I left off. I don't currently have a RPi with GUI handy, so I fired up a VM with Raspberry Pi Desktop. It should be pretty much the same as on a real Pi. sudo apt install qt5-default libqt5serialport5-dev qttools5-dev-tools qtmultimedia5-dev qttools5-dev qtscript5-dev Clone the repository and checkout to the Experimental branch (commit 07c4c34 at the time of writing). git clone https://github.com/Denvi/Candle.git
cd Candle
git checkout Experimental You'll need to patch a few sed 's:-L../designerplugins/customwidgetsplugin/release -lcustomwidgets:-L../designerplugins/customwidgetsplugin -lcustomwidgets:' -i src/candle/candle.pro
sed 's:../designerplugins/customwidgetsplugin/release -lcustomwidgets:../designerplugins/customwidgetsplugin -lcustomwidgets:' -i src/scriptbindings/qtbindings/qtscript_custom/qtscript_custom.pro This should probably be fixed @Denvi I have no idea why I need to do this, but the qtscript stuff failed to compile without this patch: sed 's:\(Q_DECLARE_METATYPE(QList<QSslError >)\)://\1:' -i src/scriptbindings/generated_cpp/com_trolltech_qt_network/qtscriptshell_QNetworkReply.cpp
sed 's:\(Q_DECLARE_METATYPE(QSslConfiguration)\)://\1:' -i src/scriptbindings/generated_cpp/com_trolltech_qt_network/qtscriptshell_QNetworkReply.cpp Compile everything: qmake candle.pro
make This can take quite a long time (26 minutes in my case), so please be patient. See if it works: ./src/candle/Candle In my case, it failed to find LD_LIBRARY_PATH="$PWD/src/designerplugins/customwidgetsplugin" ./src/candle/Candle I haven't had time to play with this, so I don't know if everything works properly. But at least it started. EDIT: The compilation process can be sped up significantly by using |
Thank you. I will give this a try. |
To make plugins work (hopefully): ln -s ../scriptbindings/plugins/script src/candle/script
ln -s ../candleplugins src/candle/plugins |
Hey @mcinquino! I installed it on an x64 machine using a tool I created you can see the screenshot of it running. You may want to give it a try, I indeed used the |
Hello,
Has anyone got version 1.2b running on a Raspberry Pi 4? I would like to use some of the new features in it.. primarily the shortcut keys. I tried to compile but got errors. I have version 1.1.8 running on the pi but that did not require the compiling process. Was wondering if there was a simpler way to get it running on a pi?
I followed the instructions shown from wiki here: https://github.com/Denvi/Candle/wiki/Compiling-for-Raspberry-Pi-4
The text was updated successfully, but these errors were encountered: