settings in QT from makefile
I have a third party Makefile,which I want to incorporate in QT.
I don' t know how to set the settings.
Here are the important makefile settings that i need to use:
Code:
LD := /usr/bin/g++
LDFLAGS := -Wl,-E
LIBS := -lpylonbase
$(NAME) : $(NAME).o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -lGCBase_gcc40_v2_1
How do i set these settings in QT GUI application project settings??
Without these I am getting some linker errors like "undefined reference to ...."
Re: settings in QT from makefile
Just make sure the libraries pylonbase and GCBase_gccxxx are added in the pro. Use the add library wizard to guide you for the first time. Once it does it for you, note the keywords LIBS+= , INCLUDE... etc.
That all is there to it for the makefile excerpt you have provided.
You might even want to go through the most basic makefile example on the internet.
Re: settings in QT from makefile
thanks..just what i was looking for!!
Re: settings in QT from makefile
Really your publish is actually excellent and that i be thankful. You are writing perfectly that is amazing. I truly astounded by your publish regards.