/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Day 17 -- a bunch more tools join the table :) #blender3d #screenshotsaturday #itssaturdaysomewhere #lowpoly #3D https://t.co/CYJucn0Lfv
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Writing a Direct3D Simulation with QT using Visual Studio IDE

4: Adsense

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   

1233
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



#2 Eliad Moshe   Members   

862
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   

1233
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.