I'm used to using MSVC++ and Borland C++ Builder under Windows.... I've recently migrated to Linux (Red Hat 8) and I'm trying to compile my first QT project. I made the one straight off the tutorial - the clipboard manager - MultiClip.
I've never really had any experience using a command line compiler... The tutorial said to run
qmake -o Makefile multiclip.pro
and then to run make
normally. Anyway, the first time I did it there were a couple missing semicolons and I fixed that but now I dont know what this message means:
[root@localhost multiclip]# make
g++ -o multiclip .obj/multiclipform.o .obj/moc_multiclipform.o -L/usr/lib/qt3-gcc3.2/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [multiclip] Error 1
and I dont know what it means. I uploaded it to my website