Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


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: 636

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: 813

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: 636

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