Hello, ...

I want to create a SIP Client Application using Qt4 for the User Interface. My developing is really at the beginning and I got a problem with the makefile. My SIP Client GUI is based on a OpenSource SIP Stack (pjsip.org). On this Homepage is a Manual which explains how to create a own SIP Client GUI. They say, that I have to write my own makefile which involves following lines.

Qt Code:
  1. #Modify this to point to the PJSIP location.
  2. PJBASE=/home/myself/pjproject-0.5.10.2
  3.  
  4. include $(PJBASE)/build.mak
  5.  
  6. CC = $(APP_CC)
  7. LDFLAGS = $(APP_LDFLAGS)
  8. LDLIBS = $(APP_LDLIBS)
  9. CFLAGS = $(APP_CFLAGS)
  10. CPPFLAGS= ${CFLAGS}
  11.  
  12. # If your application is in a file named myapp.cpp or myapp.c
  13. # this is the line you will need to build the binary.
  14. all: myapp
  15.  
  16. myapp: myapp.cpp
  17. $(CC) -o $@ $< $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)
  18.  
  19. clean:
  20. rm -f myapp.o myapp
To copy to clipboard, switch view to plain text mode 

But also the command
Qt Code:
  1. qmake
To copy to clipboard, switch view to plain text mode 
generates his own makefiles which involve the path for the Qt4 include files.

So when I use the the makefile generated by qmake, the compiler doesn't find the includes from the pjsip.

So my Question: How can or must I combine or build the makefile that i can make a successful build of my program.


Best Regards,...