Click here to Skip to main content
15,897,718 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Duplicates in list Pin
Chris Losinger18-Apr-11 11:03
professionalChris Losinger18-Apr-11 11:03 
QuestionCritique is Need Pin
Ikeman from Moses Lake18-Apr-11 7:09
Ikeman from Moses Lake18-Apr-11 7:09 
Question[SOLVED] I need to copy (CTRL+C) a web page... C++ [modified] Pin
Ram Shmider18-Apr-11 1:43
Ram Shmider18-Apr-11 1:43 
AnswerRe: I need to copy (CTRL+C) a web page... C++ Pin
_AnsHUMAN_ 18-Apr-11 2:20
_AnsHUMAN_ 18-Apr-11 2:20 
GeneralRe: I need to copy (CTRL+C) a web page... C++ Pin
Ram Shmider19-Apr-11 20:20
Ram Shmider19-Apr-11 20:20 
AnswerRe: I need to copy (CTRL+C) a web page... C++ Pin
Nitheesh George18-Apr-11 18:27
Nitheesh George18-Apr-11 18:27 
GeneralRe: I need to copy (CTRL+C) a web page... C++ Pin
Ram Shmider19-Apr-11 20:18
Ram Shmider19-Apr-11 20:18 
QuestionHow can I solve those errors? Pin
Abder_Rahman18-Apr-11 0:26
Abder_Rahman18-Apr-11 0:26 
When I try running a Qt application with the following main.cpp file:

#include <QApplication>
#include "ui_checkabder.h"
#include <QDialog>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Ui::CheckAbder ui;
QDialog *dialog = new QDialog;
ui.setupUi(dialog);
dialog->show();
return app.exec();
}


I get the following errors:

c:/QtSDK/Desktop/Qt/4.7.3/mingw/lib/libqtmaind.a(qtmain_win.o):-1: In function `WinMain@16':

c:/ndk_buildrepos/qt-desktop/src/winmain/qtmain_win.cpp:131: error: undefined reference to qMain(int, char **)

:-1: error: collect2: ld returned 1 exit status

And, abder.pro looks like this:

######################################################################
# Automatically generated by qmake (2.01a) Mon Apr 18 09:52:56 2011
######################################################################

TEMPLATE = app
TARGET = 
DEPENDPATH += .
INCLUDEPATH += .

# Input
FORMS += checkabder.ui


How can I solve those errors? Provided that I'm using Qt Creator.

Thanks.
AnswerRe: How can I solve those errors? Pin
Richard MacCutchan18-Apr-11 0:52
mveRichard MacCutchan18-Apr-11 0:52 
GeneralRe: How can I solve those errors? Pin
Abder_Rahman18-Apr-11 23:52
Abder_Rahman18-Apr-11 23:52 
QuestionApplication crashing while using cablib.dll Pin
tomydevasia18-Apr-11 0:05
tomydevasia18-Apr-11 0:05 
AnswerRe: Application crashing while using cablib.dll Pin
Richard MacCutchan18-Apr-11 0:48
mveRichard MacCutchan18-Apr-11 0:48 
Questionhow to drag and drop image in listview control using mfc Pin
rajniyadav1a17-Apr-11 21:29
rajniyadav1a17-Apr-11 21:29 
AnswerRe: how to drag and drop image in listview control using mfc Pin
Niklas L18-Apr-11 5:51
Niklas L18-Apr-11 5:51 
QuestionUninstalling the application completely. Pin
pix_programmer17-Apr-11 20:50
pix_programmer17-Apr-11 20:50 
AnswerRe: Uninstalling the application completely. Pin
pix_programmer20-Apr-11 3:29
pix_programmer20-Apr-11 3:29 
QuestionsetWindowLong for more than One window Pin
002comp17-Apr-11 20:19
002comp17-Apr-11 20:19 
AnswerRe: setWindowLong for more than One window Pin
Richard MacCutchan17-Apr-11 22:05
mveRichard MacCutchan17-Apr-11 22:05 
GeneralRe: setWindowLong for more than One window Pin
002comp17-Apr-11 22:31
002comp17-Apr-11 22:31 
GeneralRe: setWindowLong for more than One window Pin
Richard MacCutchan17-Apr-11 23:00
mveRichard MacCutchan17-Apr-11 23:00 
QuestionHow to get String from ".txt" file and transfer to float Pin
camuoi28817-Apr-11 17:04
camuoi28817-Apr-11 17:04 
AnswerRe: How to get String from ".txt" file and transfer to float Pin
«_Superman_»17-Apr-11 18:50
professional«_Superman_»17-Apr-11 18:50 
GeneralRe: How to get String from ".txt" file and transfer to float Pin
camuoi28817-Apr-11 20:00
camuoi28817-Apr-11 20:00 
GeneralRe: How to get String from ".txt" file and transfer to float Pin
Richard MacCutchan17-Apr-11 22:02
mveRichard MacCutchan17-Apr-11 22:02 
GeneralRe: How to get String from ".txt" file and transfer to float Pin
David Crow18-Apr-11 3:09
David Crow18-Apr-11 3:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.