Hi,
It is possible to build project in QT from cmd using only bld.inf file or .mmp file ? Or I must create .pro file ?
I can chose GCCE or ARMV5 in QT ? Witch is better ? I think that in S60 building on ARMV5 was better but ARMV5 was expensive ?
Hi,
It is possible to build project in QT from cmd using only bld.inf file or .mmp file ? Or I must create .pro file ?
I can chose GCCE or ARMV5 in QT ? Witch is better ? I think that in S60 building on ARMV5 was better but ARMV5 was expensive ?
What tool do you refer to --- either Creator or Carbide ?
For creator bld.inf and .mmp are automatically generated -- you must use .pro file to configure your project.
GCCE is free. for ARMV5 you need RVCT compiler
Qt Creator.
I know that bld.inf and .mmp are automatically generated from .pro file. But I don`t have .pro file, only bld.inf and .mmp. I could write .pro file but it take a time. So is it possible to build project from bld.inf and .mmp without .pro file ?
So in QT SDK 1.2 there is no RVCT compiler only new GCCE ?
as said, if you want free compileer you have GCCE and others will cost you. For Qt you do need pro file, it does not take too much time to make, so while waiting answers here, you could have already made it.
Also if you have any problems with you code, you will most likely have difficulties on debugging it without IDE, so if you want to use Qt, I would really recommend on downloading QtSDK and using it for development, testing & packaging.
Ok. Thanks for Your response.
I understand.
So another question, it is possible to build many .lib from one .pro file ? Or I must create one .pro file to build one .lib or .exe file ?
Hi,
One way of doing it is to have a .pro file per subdirectory.
appsuite.pro:
TEMPLATE = subdirs
SUBDIRS = common app1 app2 app3
app1.depends = common
app2.depends = common
app3.depends = common
app1/app1.pro:
TARGET = app1
SOURCES = main.cpp
INCLUDEPATH += ../common
LIBS += -L../common -lcommon
The common.pro file should build a static library you can then link into the binaries. common/common.pro:
TEMPLATE = lib
CONFIG = staticlib
SOURCES = project.cpp more.cpp
HEADERS = project.h more.h
you can have multiple subdirs too that are libraries.