|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
![]() in the main.cpp the code int main(int argc, char *argv[]) { Q_INIT_RESOURCE(application); QApplication app(argc, argv); LinuxWebcamGrabber *linuxweb = new LinuxWebcamGrabber(); linuxweb->start(); linuxweb->getFrame(); // here error app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); return app.exec(); } in the otherfile code : ...... class LinuxWebcamGrabber : public AbstractWebcamGrabber //让其成为 AbstractWebcamGrabber的子类 { protected: static int xioctl (int fd, int request, void *arg); //QVector <uchar> imagebuffer; public: LinuxWebcamGrabber(); QImage* qimage; int start(); int stop(); bool isGrabbingPossible(); int getFrame(QImage*); //here is the problem .. the error show "There is no matching function" but I have define the function in the other file I try in main.cpp change code like this linuxweb->getFrame(QImage*); error :/home/haozi/distop/test-0.2.2./src/main.cpp:42: ERROR: expected primary-expression before ?*? token there is some error with my Compiler? |
#2
| |||
| |||
Re: linux QT Creator a error help me thanks! Thread title edited |
#3
| |||
| |||
Re: linux QT Creator a error help me thanks! Quote:
Quote:
|
#4
| |||
| |||
Re: linux QT Creator a error help me thanks! -- much thanks ! the problem have ben kill in the main.cpp as void said . |
![]() |
|
Tags: linux |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cant enable audio CD information download in label creator of Roxio Creator 2012 | Oppilaa | Windows Software | 2 | 15-05-2012 10:37 AM |
Getting error message while booting with ubuntu 10.10's usb-creator-gtk | Suryavansham | Operating Systems | 9 | 03-04-2012 07:19 PM |
USB creator annoying pop ups on Linux Mint 9 | Chillam | Operating Systems | 3 | 14-01-2011 02:08 AM |
Toshiba Disk Creator Error | Lishi | Hardware Peripherals | 3 | 02-09-2009 10:02 AM |