Results 1 to 2 of 2

Thread: help! hello world project problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    25
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default help! hello world project problem

    Hi all,
    I am follow a reference book example but i face below problem

    Object::connect: No such signal QLineEdit::testChanged(const QString &) in .\cmaindialog.cpp:21
    Object::connect: No such signal QPushButton::Clicked() in .\cmaindialog.cpp:24
    Object::connect: No such signal QPushButton::Clicked() in .\cmaindialog.cpp:25

    my source code is as below:

    label = new QLabel(tr("Find &what:"));
    lineEdit = new QLineEdit;
    label->setBuddy(lineEdit);

    caseCheckBox = new QCheckBox(tr("Match &case"));
    backwardCheckBox = new QCheckBox(tr("Search &backward"));

    findButton = new QPushButton(tr("&Find"));
    findButton->setDefault(true);
    findButton->setEnabled(false);

    closeButton = new QPushButton(tr("Close"));

    connect(lineEdit, SIGNAL(testChanged(const QString &)), this,
    SLOT(enableFindButton(const QString &)));
    connect(findButton, SIGNAL(Clicked()), this, SLOT(findClicked));
    connect(closeButton, SIGNAL(Clicked()), this, SLOT(close()));

  2. #2
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    25
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: help! hello world project problem

    Hi all,

    I found the reason already.. all is case sensitive problem.. haiz..

Similar Threads

  1. Problem in using QHttp with QTimer
    By Ferdous in forum Newbie
    Replies: 2
    Last Post: 6th September 2008, 12:48
  2. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  3. Library and Subdirs building problem
    By herenbdy in forum Qt Programming
    Replies: 2
    Last Post: 10th July 2008, 02:10
  4. problem in qt hello world programme
    By u04f061 in forum Qt Programming
    Replies: 6
    Last Post: 9th March 2007, 11:39
  5. Replies: 2
    Last Post: 11th July 2006, 14:19

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.