Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

"Generated on #{Time.now}" error when compiling project using qt5.cr#25

Open
gilmartaj wants to merge 32 commits intomasterfrom
master-ready-to-use
Open

"Generated on #{Time.now}" error when compiling project using qt5.cr#25
gilmartaj wants to merge 32 commits intomasterfrom
master-ready-to-use

Conversation

@gilmartaj
Copy link
Copy Markdown

@gilmartaj gilmartaj commented Feb 23, 2020

I went to test a library and get the following error when compiling:

In lib/qt5/src/qt5/../../support/decide_binding_fast.cr:65:27
 65 | ; Generated on #{Time.now}                            ^--
Error: undefined method 'now' for Time.class

Does anyone know how to solve this problem?

When qt5.cr is used as a dependency itself (which is likely), the path
to the bindgen_helper.hpp will change.  It's not possible to support
multiple paths in a symlink :(
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants