rschroll / beru

The Basic Epub Reader for Ubuntu
http://rschroll.github.io/beru/
GNU General Public License v3.0
24 stars 12 forks source link

Cannot build on Ubuntu Raring 13.04 #18

Closed ag-restringere closed 11 years ago

ag-restringere commented 11 years ago

Followed the instructions, installed the Ubuntu SDK and the following occured:

$ qmake
$ qmake: could not find a Qt installation of ''

Attemping to install further QT dependencies didn't work either. It seems there's either a missing step or the Ubuntu SDK is not configuring the base 'qmake' build system correctly. Would love to test this on Raring but am unable to.

rschroll commented 11 years ago

This means there's something wrong with your installation of Qt. I had a similar problem when trying to build in a chroot; installing the qt5-default package if for me.

ag-restringere commented 11 years ago
user@Ubuntu:~/Projects/beru$ sudo apt-get install qt5-default
Reading package lists... Done
Building dependency tree       
Reading state information... Done
qt5-default is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

It's already installed, do I have have to use the qt5 version of qmake?

rschroll commented 11 years ago

Drat. This works for me on both 12.04 and 13.10 systems, so I was really hoping it'd also work on the intermediate ones.

I'm new to Qt, so I won't be too much help, I'm afraid. Here's the Stack Overflow question that helped me out; maybe another answer will be what you need: http://stackoverflow.com/questions/17918142/qmake-could-not-find-a-qt-installation-of-setting-up-qmake

rschroll commented 11 years ago

It's already installed, do I have have to use the qt5 version of qmake?

Yes. This is all Qt5 stuff. I guess I should note that in the README....

ag-restringere commented 11 years ago

Interesting:

$ qtchooser -list-versions
qt5-x86_64-linux-gnu
qt4
$ qmake -qt=qt5-x86_64-linux-gnu

And it works...if I have any further build issues I'll let you know...

rschroll commented 11 years ago

Good to hear. I've updated the README and closed this bug, but please open another if something else goes wrong.