[Qt-interest] how to create Qt desktop Icons
Muthulingam Ammaiappan
muthulingam.a at gmail.com
Tue Mar 29 09:09:02 CEST 2011
Hi KrishnaPriya,
if you wanted to add the new file to your already existing qt application...
then you need to work with *.pro file...
for example: if you wanted to add the new header file and cpp file ... then
you need to add those file in *.pro file...
below is the model *.pro file....
i think this will help you..
Thanks & Regards,
Muthu
######################################################################
# Automatically generated by qmake (2.01a) Tue Jan 11 16:12:00 2011
######################################################################
TEMPLATE = app
TARGET = /bin/LSWTDataTracer
DEPENDPATH += . forms include src lib
MOC_DIR = moc
OBJECTS_DIR = obj
# Input
SOURCES += ./src/main.cpp\
src/mainwindow.cpp \
src/postprocessor_plot.cpp \
src/predefinedgraphpage.cpp \
src/mdichild.cpp \
src/AboutLSWT.cpp \
src/highlighter.cpp \
src/find.cpp \
src/findreplace.cpp \
src/graphpagewithsymbols.cpp \
src/plotwithsymbols.cpp
HEADERS += ./include/mainwindow.h \
include/postprocessor_plot.h \
include/postprocessor_zoomer.h \
include/predefinedgraphpage.h \
include/mdichild.h \
include/AboutLSWT.h \
include/highlighter.h \
include/find.h \
include/findreplace.h \
include/graphpagewithsymbols.h \
include/plotwithsymbols.h
RESOURCES += mdi.qrc
RC_FILE = autodoc.rc
FORMS += forms/AboutLSWT.ui
QT += core gui sql
CONFIG += qwt \
qt debug \
console
QWT_LOCATION = C:/qwt-6.0.0-rc5 # Qwt location (must match exactly to
where you unzip the files)
INCLUDEPATH += $${QWT_LOCATION}/src
LIBS += -LC:/qwt-6.0.0-rc5/lib -lqwt
# The following section is to select static lib base on debug or release build
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
mac:LIBS = $$member(LIBS, 0) \
$$member(LIBS, 1)_debug
win32:LIBS = $$member(LIBS, 0) \
$$member(LIBS, 1)d
}
On Tue, Mar 29, 2011 at 11:03 AM, krishna priya <priyark1 at gmail.com> wrote:
> Hi Muthu,
>
> Thanks for the response ..
> This link is very usefull .Can u tell me how to integrate a new qt
> application to my working qt file system.
> Like how to compile and what are the directories i need to
> concentrate...................If can u give me the process in detail it
> will be help full for me..
>
>
> On Tue, Mar 29, 2011 at 10:17 AM, Muthulingam Ammaiappan <
> muthulingam.a at gmail.com> wrote:
>
>> Hi KrishnaPriya,
>>
>> go through the below link... it is the answer for your question..
>>
>> http://doc.qt.nokia.com/4.0/appicon.html
>>
>>
>> Thanks in Advance,
>> Muthu
>>
>>
>> On Tue, Mar 29, 2011 at 10:03 AM, krishna priya <priyark1 at gmail.com>wrote:
>>
>>> Hi every body,
>>>
>>> This is krishna. I am new to Qt development .I am working with Friendly
>>> arm Micro2440SDK .Which comes with Qt as desktop.
>>> I need to add my qt application with a icon like Qt applications(example
>>> : Calender,Calculator,...........).So any body can suggest the way to
>>> develop a Qt desktop application which comes with an icon.With that i can
>>> run my application using the touch panel.
>>>
>>> --
>>> byee
>>> Krishna
>>> “To love is to risk not being loved in return. To hope is to risk pain.
>>> To try is to risk failure, but risk must be taken because the greatest
>>> hazard in life is to risk nothing.”
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at qt.nokia.com
>>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>>
>>>
>>
>
>
> --
> byee
> Krishna
> “To love is to risk not being loved in return. To hope is to risk pain. To
> try is to risk failure, but risk must be taken because the greatest hazard
> in life is to risk nothing.”
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110329/4f500834/attachment.html
More information about the Qt-interest-old
mailing list