No I am implementing main() function. where I am creating a QPushButton see
below
*#include <QApplication>*
*#include <QPushButton>*
**
*int main(int argc, char ** argv)*
*{*
* QApplication app(argc,argv);*
* QPushButton button("Button");*
* button.show();*
* return app.exec();*
*}*
On Mon, Aug 17, 2009 at 9:14 AM, Sunil Thaha <[email protected]> wrote:
> Are you missing a main() function?
> -Sunil
>
>
> On Sun, Aug 16, 2009 at 10:47 PM, Sujan Dasmahapatra <
> [email protected]> wrote:
>
>> Dear Friends
>> Please help me to start my venture into Qt-Creator in windows. I just
>> installed creator and trying the simple Application and getting these
>> linking errors.
>>
>> C:/Qt/2009.03/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c::-1:
>> error: undefined reference to `__cpu_features_init'
>> C:/Qt/2009.03/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../crt2.o:crt1.c::-1:
>> error: undefined reference to `_pei386_runtime_relocator'
>> fu000001.o::-1: error: undefined reference to `libmsvcrt_a_iname'
>> fu000002.o::-1: error: undefined reference to `libmsvcrt_a_iname'
>> fu000004.o::-1: error: undefined reference to `libmsvcrt_a_iname'
>> fu000005.o::-1: error: undefined reference to `libmsvcrt_a_iname'
>> nmth000000.o::-1: error: undefined reference to `_nm___fmode'
>> nmth000003.o::-1: error: undefined reference to `_nm___fpreset'
>> :-1: error: collect2: ld returned 1 exit status
>>
>> --
>> Thanks & Regards
>> S. Dasmahapatra
>> B.E. (Aeronautics-Aerodynamics)
>> Bangalore, India
>> Ph:91-9900839788
>> Office:91-80-66470248
>> mail id : [email protected]
>>
>> _______________________________________________
>> Qt-creator mailing list
>> [email protected]
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>>
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
--
Thanks & Regards
S. Dasmahapatra
B.E. (Aeronautics-Aerodynamics)
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : [email protected]
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator