Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Writing a Direct3D Simulation with QT using Visual Studio IDE


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 lucky6969b   Members   -  Reputation: 624

Like
0Likes
Like

Posted 20 January 2013 - 03:49 AM

I have got something like this

#ifndef PERFECTSIM_H
#define PERFECTSIM_H
#include <QtGui/QMainWindow>
#include "ui_perfectsim.h"
#include "camera.h"
class PerfectSim : public QMainWindow
{
    Q_OBJECT
public:
    PerfectSim(QWidget *parent = 0, Qt::WFlags flags = 0);
    ~PerfectSim();
private:
    Ui::PerfectSimClass ui;
    
    CCamera m_Cam[3];
};
#endif // PERFECTSIM_H

What methods should I override from QMainWindow in order to implement a game loop and the gui?

Thanks

Jack



Sponsor:

#2 Eliad Moshe   Members   -  Reputation: 812

Like
0Likes
Like

Posted 20 January 2013 - 10:49 AM

http://jholewinski.org/blog/direct3d-11-with-qt-4/

 

http://blueskin.posterous.com/creating-a-dx-widget-using-qt



#3 lucky6969b   Members   -  Reputation: 624

Like
0Likes
Like

Posted 21 January 2013 - 02:57 AM

http://jholewinski.org/blog/direct3d-11-with-qt-4/

 

I am compiling his source code with QT statically linked, but failed

Tried /MTd

Are there any preprocessors that I need to be careful of.

Thanks

Jack






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS