Yep, that worked, one obstacle less
I do get the configuration window now (having had to delete ogre.cfg and resources.cfg) but no "Mode" (resolution) is made available.
When clicking "ok" i get the following error
Code: Select all
Unable to apply desired settings to the window. Please consult the system log for details
Code: Select all
The thread 'Win32 Thread' (0xf68) has exited with code 3 (0x3).
First-chance exception at 0x774672c0 in generat0rX.exe: 0xC00000FD: Stack overflow.
Unhandled exception at 0x774672c0 in generat0rX.exe: 0xC00000FD: Stack overflow.
Code: Select all
[Graphics]
RenderSystem=Direct3D9 Rendering Subsystem
SelectedWindowMode=-1
AllowPerfHUD=false
EnableGammaCorrection=false
FSSAFactor=2
EnableVerticalSync=false
Code: Select all
10:45:48 pm - Debug test
10:45:48 pm - Warning test
10:45:48 pm - Critical test
10:45:48 pm - link XMLID_34_ hasn't been detected!
10:45:48 pm - link XMLID_34_ hasn't been detected!
10:45:48 pm - link XMLID_36_ hasn't been detected!
10:45:48 pm - link XMLID_34_ hasn't been detected!
10:45:48 pm - link XMLID_34_ hasn't been detected!
10:45:48 pm - link XMLID_36_ hasn't been detected!
10:45:55 pm - Failed to set main window resolution. The list of resolutions was:
10:45:55 pm - The requested index was: "-1"
Code: Select all
#include "generat0rx.h"
#include <QtGui/QApplication>
#include <qplastiquestyle.h>
#include <Application.h>
#include "OgreEngineLogic.h"
int main(int argc, char *argv[])
{
QApplication::setStyle ( new QPlastiqueStyle() );
QtOgre::Application app(argc, argv, new QtOgre::OgreEngineLogic);
//QApplication app (argc, argv);
generat0rX w;
w.show();
//return app.exec();
return app.exec(QtOgre::DisplaySettingsDialog);
}
Cheerio,
Michael
PS: I have used the Qt Add-in for MSVS 2010 to create the Qt app.