Coder Social home page Coder Social logo

Can't compile qgis3-dev about homebrew-qgisdev HOT 4 CLOSED

qgis avatar qgis commented on July 20, 2024
Can't compile qgis3-dev

from homebrew-qgisdev.

Comments (4)

dakcarto avatar dakcarto commented on July 20, 2024

Hi @palmerj, thanks for reporting!

I've not updated my Homebrew for maybe a week and this is what I get:

$ pyrcc5 -version
pyrcc5 v5.9

$ pyrcc5 -h
PyQt5 resource compiler
Usage: pyrcc5 [options] <inputs>

Options:
    -o file           Write output to file rather than stdout
    -name name        Create an external initialization function with name
    -threshold level  Threshold to consider compressing files
    -compress level   Compress input files by level
    -root path        Prefix resource access path with root path
    -no-compress      Disable all compression
    -version          Display version
    -help             Display this information

which clearly shows -name support.

However, with recent 5.9+ changelog entries, that option has definitely been removed (guessing 5.9.1 is first version with that change):

2017-07-25  Phil Thompson  <[email protected]>

	* pyrcc/pyrcc_main.py, pyrcc/pyrccmod.sip, qpy/pyrcc/rcc.h:
	Removed the unimplemented -name option to pyrcc.
	[307cff7f1dbb] <5.9-maint>

So, this is something that needs updated in PyQtMacros.cmake upstream, i.e. not related to the qgis3-dev formula code.

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on July 20, 2024

Yeah, sure enough:

$ pyrcc5 -version
pyrcc5 v5.9.1

$ pyrcc5 -h
PyQt5 resource compiler
Usage: pyrcc5 [options] <inputs>

Options:
    -o file           Write output to file rather than stdout
    -threshold level  Threshold to consider compressing files
    -compress level   Compress input files by level
    -root path        Prefix resource access path with root path
    -no-compress      Disable all compression
    -version          Display version
    -help             Display this information

Working on a fix.

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on July 20, 2024

Should be fixed in qgis/QGIS@ff2a53c

Please try again.

from homebrew-qgisdev.

palmerj avatar palmerj commented on July 20, 2024

Thanks @dakcarto all working now!

from homebrew-qgisdev.

Related Issues (20)

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.