rweather / tvguide

XMLTV Guide Browser
http://southern-storm.blogspot.com/
GNU General Public License v3.0
2 stars 5 forks source link

"undefined reference to" when compiling #1

Open aaferrari opened 3 years ago

aaferrari commented 3 years ago

I made this fork to try to adapt the code to QT5 but when compiling it I get many errors of the type undefined reference to ... Any idea what causes this? For what it's worth, this is the log of what appears at the moment of executing make.

rweather commented 3 years ago

I think you need to add some extra items to the .pro file such as "QT += widgets". They changed the set of libraries for a basic application between Qt4 and Qt5.

Some more information here on this kind of error: https://stackoverflow.com/questions/48746408/qt5-undefined-reference-to-qapplicationqapplicationint-char-int

aaferrari commented 3 years ago

I was already able to compile the program; I was trying to add that line in tvguide.pro but I didn't notice the src/src.pro file. If you are interested I can open a pull request so you can merge the adjustments that I've been making to the code.

rweather commented 3 years ago

Sure, why not.