Skip to content

Project ERROR: $prefix is undefined. Please pass prefix=<path> to qmake #21

@lthiet

Description

@lthiet

Hello,

When I try to qmake then make install

I get this error :

cd src/brdf/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /path/to/brdf.pro ) && make -f Makefile 
Project ERROR: $prefix is undefined. Please pass prefix=<path> to qmake
Makefile:44: recipe for target 'sub-src-brdf-make_first-ordered' failed
make: *** [sub-src-brdf-make_first-ordered] Error 3

I tried doing this from : https://stackoverflow.com/questions/14639459/how-to-change-qmake-prefix-location :

qmake -set prefix /path/to/repo

But I still get the same error, so I don't know what to do... Please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions