Download Sharp Qtopia Desktop Specifications

Transcript
SHARP CORPORATION
Sharp SL-series Zaurus “Qtopia” Development Start-up Guide
DESTDIR = ./
INCLUDEPATH += $(QTDIR)/library
DEPENDPATH += $(QTDIR)/library
TARGET = qpe-test
LIBS += -lqpe
If you have a .ui file besides the source file, you may want to add INTERFACE tag in the .pro file, so that you will
have the contents of the procedure automatically added to the Makefile.
DESTDIR = ./
INCLUDEPATH += $(QTDIR)/library
DEPENDPATH += $(QTDIR)/library
TARGET = qpe-test
LIBS += -lqpe
INTERFACE = qpe-test.ui
2.4.3.
Creating the Makefile
Use the “tmake” tool to create the Makefile based on the .pro file generated by the “progen”:
$ tmake –o Makefile qpe-test.pro
Once you execute the above command, now you have the Makefile to build the main.cpp.
2.4.4.
Executing make to build the application
Use “make” command to build main.cpp using the created Makefile:
$ make
Once you execute, unless you modified the main.cpp file or delete the files created by tmake (such as .o file),
you cannot re-execute make. In such case, execute the following to initialize, and re-issue make command.
$ make clean
Ver 1.11, February 28, 2003, 28/63