openscad / docker-openscad

OpenSCAD-related docker files
BSD 2-Clause "Simplified" License
11 stars 10 forks source link

Could not build image because QMake project file is gone #23

Open PashaWNN opened 3 months ago

PashaWNN commented 3 months ago

When trying to build the image, the following behavior occurs:

#20 21.81 Submodule path 'submodules/sanitizers-cmake': checked out 'c3dc841af4dbf44669e65b82cb68a575864326bd'
#20 21.82 Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]
#20 21.82 
#20 21.82 QMake has two modes, one mode for generating project files based on
#20 21.82 some heuristics, and the other for generating makefiles. Normally you
#20 21.82 shouldn't need to specify a mode, as makefile generation is the default
#20 21.82 mode for qmake, but you may use this to test qmake on an existing project
#20 21.82 

This is due to moving from QMake to CMake in the main repository

t-paul commented 3 months ago

Please start with what you are doing, e.g. which of the images you want to build, the exact command used and what OS / disto / docker version things are running on.

PashaWNN commented 3 months ago

I was trying to build the image from the following Dockerfile: https://github.com/openscad/docker-openscad/blob/main/openscad/buster/Dockerfile using MacOS 14.5 and Docker 4.2.0 using command docker build ..

Anyway I'm sure that it is not related to software version, because what this Dockerfile is trying to do is to clone the master branch of openscad/openscad repo and then run qmake. QMake is unable to find .pro file in the repo because at some moment OpenSCAD moved to CMake.

I was going to try to fix it by myself, but just decided to install openscad from apt-get