| Trolltech Home | Qtopia-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi, I want to give some special linker option to qtopia and qt-e. Where can i do that. Does Bdirect and --has values work in qtopia and qt-e. I cannot find the place where i can give the options to the linker which will make it work. Regards, Rajesh --------------------------------- Here?s a new way to find what you're looking for - Yahoo! Answers
Rajesh Jha wrote: > Hi, > I want to give some special linker option to qtopia and qt-e. > Where can i do that. > > Does Bdirect and --has values work in qtopia and qt-e. > > I cannot find the place where i can give the options to the linker which > will make it work. > > Regards, > > Rajesh Hi Rajesh, In qtopia 4.2.1 there are compile and link flags in the files: devices/<device_name>/mkspecs/qws/linux-<device_name>-g++/qmake.conf qtopiacore/qt/mkspecs/qws/linux-<device_name>-g++/qmake.conf Also, when I configure qtopia, something like this works for me to add paths for includes: ./configure -device <device_name> -extra-qtopiacore-config " -I /rnd/include/path -L /rnd/lib/path" I assume you could do the same for linker flags. , John -- [ signature omitted ]
Hi John, Thanks a lot for your response. >>In qtopia 4.2.1 there are compile and link flags in the files: >>devices//mkspecs/qws/linux--g++/qmake.conf >>qtopiacore/qt/mkspecs/qws/linux--g++/qmake.conf I found these files but i cont find the option LDFlags in them, can i add the LDFLAGS option to these files and it will get configured. Also in qmake tutorial i count find any explanation for the LDFLAGS option. Will i need to add to both of them? Regards, Rajesh John Faith <jfaith@xxxxxxxxxxxxx> wrote: Rajesh Jha wrote: > Hi, > I want to give some special linker option to qtopia and qt-e. > Where can i do that. > > Does Bdirect and --has values work in qtopia and qt-e. > > I cannot find the place where i can give the options to the linker which > will make it work. > > Regards, > > Rajesh Hi Rajesh, In qtopia 4.2.1 there are compile and link flags in the files: devices//mkspecs/qws/linux--g++/qmake.conf qtopiacore/qt/mkspecs/qws/linux--g++/qmake.conf Also, when I configure qtopia, something like this works for me to add paths for includes: ./configure -device -extra-qtopiacore-config " -I /rnd/include/path -L /rnd/lib/path" I assume you could do the same for linker flags. , John -- [ signature omitted ] Message 4 in thread
Hi Rajesh, I haven't tried changing link flags, but I assume that one of the 'QMAKE_LFLAGS*' variables is what you want. It shouldn't take you long to try an experiment. After you modify the qmake.conf files and do "./configure -device ...", you could check the generated Makefiles/Makefile.target files in the source tree. Or you could just do 'make' after config and see if the linker does the right thing, though a full build will take a long time. Good luck, John Rajesh Jha wrote: > Hi John, > > Thanks a lot for your response. > > >>In qtopia 4.2.1 there are compile and link flags in the files: > >>devices//mkspecs/qws/linux--g++/qmake.conf > >>qtopiacore/qt/mkspecs/qws/linux--g++/qmake.conf > > I found these files but i cont find the option LDFlags in them, can i > add the LDFLAGS option to these files and it will get configured. > > Also in qmake tutorial i count find any explanation for the LDFLAGS option. > > Will i need to add to both of them? > > Regards, > Rajesh > */John Faith <jfaith@xxxxxxxxxxxxx>/* wrote: > > Rajesh Jha wrote: > > Hi, > > I want to give some special linker option to qtopia and qt-e. > > Where can i do that. > > > > Does Bdirect and --has values work in qtopia and qt-e. > > > > I cannot find the place where i can give the options to the > linker which > > will make it work. > > > > Regards, > > > > Rajesh > > > Hi Rajesh, > In qtopia 4.2.1 there are compile and link flags in the files: > devices//mkspecs/qws/linux--g++/qmake.conf > qtopiacore/qt/mkspecs/qws/linux--g++/qmake.conf > > Also, when I configure qtopia, something like this works for me to add > paths for includes: > > ./configure -device -extra-qtopiacore-config " -I > /rnd/include/path -L /rnd/lib/path" > > I assume you could do the same for linker flags. > > , > John > -- [ signature omitted ]