Hi everyone,
I would like to ask for your help with my install and setup. I have ran into an issue that I can’t seem to get past. I have installed the following packages on my Win8 PC.
qt-windows-opensource-5.0.0-msvc2010_32-x86-offline
mingw-get-inst-20120426
I set the path in the Environment for minGW and Qt/bin.
In Qt – Tools – Options – Build & Run Compilers tab. Auto-detected shows my minGW installation.
Under the Qt Versions tab; I see a red exclamation mark and ‘No compiler can produce code for this Qt version. Please define one or more compilers’. If I click on the ‘Details’ button twice next to ‘Qt version 5.0.0 for Desktop’ ( this seems to be a bug here ). This will expose a second ‘Details’ button that was not there previously. On that list; QML Dump, QML Debugging Library, QML Obsrver, GDB Helper and Compiler are listed. For Compiler I am not able to change it’s selection and it remains blank.
For the Kits tab; Auto-detected shows Desktop Qt 5.0.0 MSVC2010 32bit. Compiler is blank and gray’d out. Here if I create a new ‘Kit’ the default Auto-detected kit will then change compiler to ‘minGW’.
When I create an empty gui application and compile it. Qt returns 80+ undefined references (code and output below). I’m not sure If I’m dealing with a Win8 issue or I simply mucked it up and installed/setup something wrong. Your help here is greatly appreciated.
Here is the what i’m compiling and it’s output.
——————————————————————
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
↧