Importing examples into Qt as new projects in Linux

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

acastles91

  • Posts: 8
  • Joined: Thu Feb 21, 2019 7:23 am
  • Real Name: Antonio Castles

Importing examples into Qt as new projects in Linux

PostTue Aug 13, 2019 12:22 pm

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!
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 442
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Importing examples into Qt as new projects in Linux

PostThu Aug 15, 2019 7:25 am

Hi Antonio,

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

Thanks
Cameron
Offline

acastles91

  • Posts: 8
  • Joined: Thu Feb 21, 2019 7:23 am
  • Real Name: Antonio Castles

Re: Importing examples into Qt as new projects in Linux

PostFri Aug 16, 2019 11:49 am

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.

Return to Software Developers

Who is online

Users browsing this forum: Jean-Luc Jumpertz and 19 guests