LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   qmake not found (https://www.linuxquestions.org/questions/slackware-14/qmake-not-found-4175717365/)

slackbat 10-02-2022 09:38 AM

qmake not found
 
Hi one and all,

I was compiling the latest version of smplayer when it chocked due to not being able to find qmake.

I investigated, found that qmake is in /usr/lib64/qt5/bin, created a symbolic link to /usr/lib64, but smplayer still cannot find qmake.

Does anyone have any ideas, like (thinking about it an error in the smplayer.slackbuild script).

TIA for any help.

slackbat

elcore 10-02-2022 09:53 AM

Is this on Slackware 14.2_64_multilib like it's noted on your profile?
There might be qt4 on that system, what it probably did well, it found qmake-qt4 instead of qmake-qt5
Try to temporarily remove qmake-qt4 if possible, it might help the program compile.
But I can't guarantee, because the smplayer I use is still like version 17.12 haven't tried the new one.

Here on 15.0 without multilib, I only have these, one symlink and one binary;
Code:

/usr/bin/qmake-qt5 -> /usr/lib64/qt5/bin/qmake
Code:

/usr/lib64/qt5/bin/qmake

pghvlaans 10-02-2022 10:01 AM

This comes up every once in a while with Qt stuff; try running the SlackBuild from root's login shell (with "su -"). Non-login shells don't have the Qt directory on the path by default.

ponce 10-02-2022 10:45 AM

FWIW it's explained also at step 4 of the howto.

adcdam 10-04-2022 09:15 AM

Quote:

Originally Posted by slackbat (Post 6383900)
Hi one and all,

I was compiling the latest version of smplayer when it chocked due to not being able to find qmake.

I investigated, found that qmake is in /usr/lib64/qt5/bin, created a symbolic link to /usr/lib64, but smplayer still cannot find qmake.

Does anyone have any ideas, like (thinking about it an error in the smplayer.slackbuild script).

TIA for any help.

slackbat

did you try like this in the Slackbuild?
qmake-qt5 \

slackbat 10-08-2022 05:19 AM

Quote:

Originally Posted by elcore (Post 6383905)
Is this on Slackware 14.2_64_multilib like it's noted on your profile?

Hi elcore,

I am afraid not, this is slack-15 I am having a little difficulty with; I am setting up slack-15, but still using 14.2.

Hi pghvlaans,
Quote:

This comes up every once in a while with Qt stuff; try running the SlackBuild from root's login shell (with "su -"). Non-login shells don't have the Qt directory on the path by default.
Thanks for the tip, I will try this.

slackbat

Emerson 10-08-2022 11:09 AM

export QTDIR=/usr/lib64/qt5/

Do you still get the error after setting QTDIR?

slackbat 11-11-2022 05:55 AM

Hi everyone,

Ok I'm back after a complete hardware failure; I will now reattempt the build using the very helpful suggestions.

slackbat

slackbat 12-22-2022 05:32 AM

Quote:

Originally Posted by ponce (Post 6383915)
FWIW it's explained also at step 4 of the howto.

Compiled smplayer last night uaing the instructions you kindlt provided.

I will mark this as solved.

slackbat


All times are GMT -5. The time now is 01:25 PM.