
Originally Posted by
vermarajeev
Not on my system
I tried putting
PRE_TARGETDEPS += dummy
MKFL = ../cryp/GNUmakefile //cryp is a directory where the GNUmakefile is present
tst.input = MKFL
tst.commands = cd ../cryp && make
tst.CONFIG = no_link
tst.output = dummy
QMAKE_EXTRA_COMPILERS += tst
PRE_TARGETDEPS += dummy
MKFL = ../cryp/GNUmakefile //cryp is a directory where the GNUmakefile is present
tst.input = MKFL
tst.commands = cd ../cryp && make
tst.CONFIG = no_link
tst.output = dummy
QMAKE_EXTRA_COMPILERS += tst
To copy to clipboard, switch view to plain text mode
in ce.pro (project file)
I get this error
[raj@fedora4 cmbedit]# qmake ce.pro
[raj@fedora4 cmbedit]# make clean
rm -f *~ core *.core
[raj@fedora4 cmbedit]# make
make: *** No rule to make target `dummy', needed by `ce'. Stop.
[raj@fedora4 cmbedit]#
[raj@fedora4 cmbedit]# qmake ce.pro
[raj@fedora4 cmbedit]# make clean
rm -f *~ core *.core
[raj@fedora4 cmbedit]# make
make: *** No rule to make target `dummy', needed by `ce'. Stop.
[raj@fedora4 cmbedit]#
To copy to clipboard, switch view to plain text mode
By the way I think the problem is with version.
I have qt3.3.5 on my system. Will the above soultion work for it(Qt3.3.5)???
I have attached GNUmakefile. I dont think there is any problem with it.
By the way what is that dummy????
I went through Qt Assistance and found this
PRE_TARGETDEPS
All libraries that the target depends on can be listed in this variable. Some backends do not support this, these include MSVC Dsp, and ProjectBuilder .pbproj files. Generally this is support internally by these build tools, this is usefull for explicitly listing dependant static libraries.
This list will go before all builtin dependencies.
PRE_TARGETDEPS
All libraries that the target depends on can be listed in this variable. Some backends do not support this, these include MSVC Dsp, and ProjectBuilder .pbproj files. Generally this is support internally by these build tools, this is usefull for explicitly listing dependant static libraries.
This list will go before all builtin dependencies.
To copy to clipboard, switch view to plain text mode
I think the above commands will work with qt3.3.5. I got to know after I went through Qt assistance. I'm just trying out something. Let's see if it works....
Bookmarks