[Qt-interest] how to disable the "lib"

tang ke tangk at lemote.com
Tue Aug 2 10:11:17 CEST 2011


hello, all guys.

I want to generate a library which is named as "test",

my pro file as:

TEMPLATE = lib
TARGET = test


but use the windows to compile , it will generate a file named test.dll

use the linux to compile, it will generate a file named
libtest.so.1.0.0, and two link file libtest.so.1, libtest.so

how can I disable the "lib", and don't link the two file.

I see the Makefile with is generated by qmake, maybe such as the
TARGET0, TARGETA, TARGETD will be edited.

thanks in advance.

-- 
Best Regards


Tang Ke (Application develop of software department)
Tel:0086-512-52308628 Fax:0086-512-52308688
Phone:18962393077
E-mail:tangk at lemote.com  MSN:tangk at lemote.com, mumutouv at gmail.com
Web: http://www.lemote.com <http://www.lemote.com/>
JiangSu ZhongKe Lemote Technology Co.,Ltd
MengLan Industry Park,YuShan,ChangShu City,JiangSu,China

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tangk.vcf
Type: text/x-vcard
Size: 442 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110802/e1d31ad6/attachment.vcf 


More information about the Qt-interest-old mailing list