LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2018, 03:18 AM   #1
cuit100
LQ Newbie
 
Registered: Mar 2018
Posts: 9

Rep: Reputation: Disabled
qmake


On Fedora

I already installed these

Code:
dnf install qt-devel qt-config
dnf install mingw32-qt-qmake.x86_64 mingw64-qt-qmake.x86_64
dnf install mingw32-qt5-qmake.x86_64 mingw64-qt5-qmake.x86_64
but system or building package cant locate qmake

when run these i get

Code:
which qmake
which: no qmake in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)

Code:
qmake -v
qmake: command not found
Executing below command finds qmake
Code:
cd /; find -iname qmake
/usr/i686-w64-mingw32/bin/qt5/qmake
/usr/x86_64-w64-mingw32/bin/qt5/qmake
/usr/lib64/qt4/bin/qmake
/usr/lib/qt4/bin/qmake
So as it can be seen qmake already installed so now how to get system or building package recognize.

I also followed tutorial here Qt 5.5but same issue
 
Old 03-13-2018, 03:44 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by cuit100 View Post
On Fedora

I already installed these

Code:
dnf install qt-devel qt-config
dnf install mingw32-qt-qmake.x86_64 mingw64-qt-qmake.x86_64
dnf install mingw32-qt5-qmake.x86_64 mingw64-qt5-qmake.x86_64
but system or building package cant locate qmake

when run these i get

Code:
which qmake
which: no qmake in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)

Code:
qmake -v
qmake: command not found
Executing below command finds qmake
Code:
cd /; find -iname qmake
/usr/i686-w64-mingw32/bin/qt5/qmake
/usr/x86_64-w64-mingw32/bin/qt5/qmake
/usr/lib64/qt4/bin/qmake
/usr/lib/qt4/bin/qmake
So as it can be seen qmake already installed so now how to get system or building package recognize.

I also followed tutorial here Qt 5.5but same issue
You've got qmake for QT4 already installed and you've installed mingw32-qt5-qmake.x86_64 mingw64-qt5-qmake.x86_64 - which is for QT5.

It's not finding it because if you look at your $PATH, there is no /usr/lib/qt4/bin/ folder in it. That's why it cannot find the qmake you do have installed.
 
Old 03-13-2018, 04:13 AM   #3
cuit100
LQ Newbie
 
Registered: Mar 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
You've got qmake for QT4 already installed and you've installed mingw32-qt5-qmake.x86_64 mingw64-qt5-qmake.x86_64 - which is for QT5.

It's not finding it because if you look at your $PATH, there is no /usr/lib/qt4/bin/ folder in it. That's why it cannot find the qmake you do have installed.
Yeah i know its not in the usual directory thats why i asked how to make system recognize.

dnf is auto installing in mentioned directory so thats what i asked in question how to link qmake to default directory or respective building package to look in directories installed.
 
Old 03-13-2018, 05:13 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by cuit100 View Post
Yeah i know its not in the usual directory thats why i asked how to make system recognize.

dnf is auto installing in mentioned directory so thats what i asked in question how to link qmake to default directory or respective building package to look in directories installed.
Well, if you know that, why not add it to your $PATH ?

Or create a symlink in one of the 'bin' folders?

You also need qmake for QT5, if you're trying to build a QT5 app. Try that first, if you're building a QT5 app.
 
Old 03-14-2018, 03:14 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also unless you are building for a MICROSOFT windows os you do not need the MinGW files

these make Windows *.exe programs and Microsoft *.dll libraries

also it might be a very good idea and to BACK UP a few steps

what is it you need to do ?
what do you need to build ?
and for what version of QT ?
-- qt4 or 5 ?
 
1 members found this post helpful.
Old 03-14-2018, 04:47 PM   #6
cuit100
LQ Newbie
 
Registered: Mar 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Well, if you know that, why not add it to your $PATH ?

Or create a symlink in one of the 'bin' folders?

You also need qmake for QT5, if you're trying to build a QT5 app. Try that first, if you're building a QT5 app.
i was creating symlink but was still not working but later figured out just needed to rename file to qmake.



Quote:
Originally Posted by John VV View Post
also unless you are building for a MICROSOFT windows os you do not need the MinGW files

these make Windows *.exe programs and Microsoft *.dll libraries

also it might be a very good idea and to BACK UP a few steps

what is it you need to do ?
what do you need to build ?
and for what version of QT ?
-- qt4 or 5 ?
i didnt knew that fact about mingw.

Anyways i am trying to build qbittorrent 4.0.4 which require qmake>=5.5.1.
Problem now is dnf qt4 package install qmake v3.0 and dnf qt5 install qmake v3.1. Even installed latest qt5 v5.10 that also has qmake v3.1 only.
Now i m wondering from where will i get qmake v5.5.1 when the latest qt5 has qmake v3.1 only or if qbittorrent made mistake in package.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qmake BrajZore Programming 9 08-26-2009 04:32 AM
Suse 10.0 and qmake pevac SUSE / openSUSE 1 03-27-2006 02:45 AM
qmake Jongi SUSE / openSUSE 1 10-30-2005 02:05 AM
qt3 qmake ofada Programming 6 06-22-2004 12:10 AM
qt qmake nakkaya Programming 0 08-11-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration