Qmake successful but make doesn't

Qmake successful but make doesn't

Postby prvnrk » 11 Oct 2011, 14:46

Hi,

I'm trying to build from keepassx source on RHEL 5.3. I was through with qmake but make gives below error, Please help!!

Makefile:1530: warning: overriding commands for target `../build/moc/moc_SimplePasswordDlg.cpp'
Makefile:1449: warning: ignoring old commands for target `../build/moc/moc_SimplePasswordDlg.cpp'
/usr/lib/qt-3.3/bin/uic forms/AutoTypeDlg.ui -o ../build/ui/AutoTypeDlg.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.6)
make[1]: * [../build/ui/AutoTypeDlg.h] Error 1
make[1]: Leaving directory `/keypass/keepassx-0.4.3/src'
make: * [sub-src] Error 2


Thanks
Prvn
prvnrk
KPX user
 
Posts: 2
Joined: 11 Oct 2011, 14:44
Full Name: Prvn RK

Re: Qmake successful but make doesn't

Postby kar » 11 Oct 2011, 18:10

Update Qt.
kar
KPX user
 
Posts: 105
Joined: 04 Jun 2008, 06:06

Re: Qmake successful but make doesn't

Postby prvnrk » 11 Oct 2011, 21:29

Thank you for the reply.

I did "yum install qt-devel qt-config".

Please let me know

1. how to findout current version
2. Also how to update to latest version.

Thanks much
Prvn
prvnrk
KPX user
 
Posts: 2
Joined: 11 Oct 2011, 14:44
Full Name: Prvn RK

Re: Qmake successful but make doesn't

Postby kar » 11 Oct 2011, 22:18

I don't know the red hat environment. I wrote the Autotype for KeePassX on OS X about 1.5 years ago based on the same source code 0.4.3 and even then I was using Qt 4.6.2. So the version of Qt 3.3 seen in your error messages is ancient. I cannot help you with how to get a newer version. When I did OS X version, I just figured it all out for myself. Look into qt.nokia.com.
kar
KPX user
 
Posts: 105
Joined: 04 Jun 2008, 06:06

Re: Qmake successful but make doesn't

Postby badboybeyer » 18 Jan 2013, 02:16

I encountered the same issue on RHEL6.

Yum should tell you what version it will install or what is currently installed.
My red hat repository had two versions of qt: qt3 and qt4. QT3 packages were titled like qt3-devel whereas QT4 packages were titled like qt-devel. (you might want to issue a "yum search qt" and make sure that it is the same and not qt4-make)
qmake is mapped to qt3, so if you follow the build instructions it will link the makefile to the qt3 libraries.

Instead you should delete the makefile and:
qmake-qt4
make
make install
badboybeyer
KPX user
 
Posts: 1
Joined: 18 Jan 2013, 02:08
Full Name: Joshua Beyer


Return to KeePassX under Linux

Who is online

Users browsing this forum: No registered users and 2 guests

cron