Results 1 to 11 of 11

Thread: error In member function «virtual int QBuffer::qt_metacall(QMetaObject::Call, int, vo

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 140 Times in 132 Posts

    Default Re: error In member function «virtual int QBuffer::qt_metacall(QMetaObject::Call, int

    can you show your code?
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  2. #2
    Join Date
    May 2009
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: error In member function «virtual int QBuffer::qt_metacall(QMetaObject::Call, int

    now i changed to QT Creator is better i wish that's my code cause i have ew error here :

    /home/lassoued/design/FormUI/Frm.cpp:5: erreur: invalid use of incomplete type «struct Ui::Frm»


    that's the code:

    Qt Code:
    1. #include "Frm.h"
    2. #include "ui_Frm.h"
    3.  
    4. Frm::Frm(QWidget *parent)
    5. : QMainWindow(parent), ui(new Ui::Frm)
    6. {
    7. ui->setupUi(this);
    8. }
    9.  
    10. Frm::~Frm()
    11. {
    12. delete ui;
    13. }
    To copy to clipboard, switch view to plain text mode 






    Qt Code:
    1. #ifndef FRM_H
    2. #define FRM_H
    3.  
    4. #include <QtGui/QMainWindow>
    5.  
    6. namespace Ui
    7. {
    8. class Frm;
    9. }
    10.  
    11. class Frm : public QMainWindow
    12. {
    13. Q_OBJECT
    14.  
    15. public:
    16. Frm(QWidget *parent = 0);
    17. ~Frm();
    18.  
    19. private:
    20. Ui::Frm *ui;
    21. };
    22.  
    23. #endif // FRM_H
    To copy to clipboard, switch view to plain text mode 
    Last edited by wysota; 28th May 2009 at 21:58. Reason: missing [code] tags

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 14:22
  2. Regading Driver to connect Postgresql Database
    By dummystories in forum Installation and Deployment
    Replies: 38
    Last Post: 12th March 2009, 07:19
  3. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  4. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 17:33
  5. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.