Coder Social home page Coder Social logo

shvspy's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

shvspy's Issues

Error by compiling shvspy

I tried to compile shvspy in the usual way that I've used till now:

git clone https://github.com/silicon-heaven/shvspy shvspy
cd shvspy
git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=.. -DUSE_QT6=OFF ..
make

but I get the following error:

/home/bucher/sviluppo/GITHUB/pysimCoder/SHV/shvspy/shvspy/src/dlgaddedituser.cpp:48:22: error: ‘QByteArrayView’ was not declared in this scope; did you mean ‘QByteArrayList’?
48 | hash.addData(QByteArrayView(s.data(), s.length()));
| ^~~~~~~~~~~~~~
| QByteArrayList
make[3]: *** [shvspy/CMakeFiles/shvspy.dir/build.make:195: shvspy/CMakeFiles/shvspy.dir/src/dlgaddedituser.cpp.o] Error 1

Any idea?

Thanks in advance

shvspy in Docker

Hi
I'm trying to integrate shvapp and shvspy into a Docker Image using the following commands in Dockerfile:

RUN mkdir SHV
WORKDIR SHV
RUN git clone https://github.com/silicon-heaven/shvapp
RUN git clone https://github.com/silicon-heaven/shvspy

WORKDIR shvapp
RUN git submodule update --init --recursive
RUN mkdir build
WORKDIR build
RUN cmake -DCMAKE_INSTALL_PREFIX=.. ..
RUN make
RUN make install

WORKDIR /SHV/shvspy
RUN git submodule update --init --recursive
RUN mkdir build
WORKDIR build
RUN cmake -DCMAKE_INSTALL_PREFIX=.. ..
RUN make
RUN make install

My problem is related to the the shvspy application, because the admin password is not set in the "default-config.json" file and I have to set it in the container and then the container must be committed as new image.

I'd like to automatize the docker build with the correct password... It is possible to do this?

Last git doesn't compile on Debian and Ubuntu

Compiling of shvspy under Debian (and also probably Ubuntu) stops in both Qt5 and Qt6 by looking for

include <QStyledItemDelegate>

Here the full error:

In file included from /home/bucher/sviluppo/GITHUB/LinuxLabo/SHV/shvspy/build/shvspy/shvspy_autogen/7KTMD75TS4/moc_accessitemdelegate.cpp:10,
from /home/bucher/sviluppo/GITHUB/LinuxLabo/SHV/shvspy/build/shvspy/shvspy_autogen/mocs_compilation.cpp:2:
/home/bucher/sviluppo/GITHUB/LinuxLabo/SHV/shvspy/build/shvspy/shvspy_autogen/7KTMD75TS4/../../../../shvspy/src/accessmodel/accessitemdelegate.h:4:10: fatal error: QStyledItemDelegate: No such file or directory
4 | #include <QStyledItemDelegate>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [shvspy/CMakeFiles/shvspy.dir/build.make:118: shvspy/CMakeFiles/shvspy.dir/shvspy_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1198: shvspy/CMakeFiles/shvspy.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

The file QStyledItemDelegate is in my PC under

/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/QStyledItemDelegate

and I correctly have the folders:

/usr/lib/x86_64-linux-gnu/cmake/Qt6Widgets
/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets

Roberto

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.