Results 1 to 8 of 8

Thread: Program crash

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Posts
    32
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Program crash

    Hi all,
    I am having the following pro file

    TEMPLATE = lib
    TARGET = myplugin
    HEADERS = myplugin.h
    SOURCES = myplugin.cpp
    QT += sql
    QT += gui
    CONFIG += qt plugin


    In the class implementation when i am trying to create any object say qDebug, it crashes.


    bool myplugin:: open( )
    {
    qDebug() << "error" ; // crashes
    return true;
    }

    even I tried creating QMessageBox , the program crashes.
    Can anyone sort out my problem.
    Last edited by Pragya; 28th June 2007 at 10:50.

Similar Threads

  1. Program crashes (SIGSEGV)
    By Voldemort in forum Qt Programming
    Replies: 47
    Last Post: 21st May 2007, 20:09
  2. Porting my program to another windows machine !
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 06:46
  3. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19
  4. Release my simple program to other users ?
    By probine in forum Qt Programming
    Replies: 9
    Last Post: 9th July 2006, 23:42
  5. Crash: using a dialog in a model
    By Brandybuck in forum Qt Programming
    Replies: 3
    Last Post: 11th April 2006, 01:39

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.