Page 1 of 1

Importing examples into Qt as new projects in Linux

PostPosted: Tue Aug 13, 2019 12:22 pm
by acastles91
Hello. I've been trying to import the example CaptureStills into Qt 4.6.1. in Ubuntu as a new C++ project but the program fails to link properly one function in the png.h file. I don't really know where the error is, do you have any experience on this? Have you managed to import the examples into Qt Creator succesfully?

Thanks!

Re: Importing examples into Qt as new projects in Linux

PostPosted: Thu Aug 15, 2019 7:25 am
by Cameron Nichols
Hi Antonio,

Can you please share which version of Ubuntu you are running and also the link failure message?

Thanks
Cameron

Re: Importing examples into Qt as new projects in Linux

PostPosted: Fri Aug 16, 2019 11:49 am
by acastles91
Hello Cameron,

Thanks for replying. I'm working on Ubuntu 19.04 and I managed finally to run an example in Qt 4.6.1. I was not copying the cflags and ldflags from the original Makefile correctly into the qmake file of Qt. I'm not getting an error anymore.