1
General / Re: New install of Qt 5.2.1 and SFML 2.1
« on: May 15, 2014, 10:27:21 pm »
I got it working. Not sure what I did right. There are a lot of conflicting posts in forums that approach the same sort of issues from different directions. I think the most significant differences in solutions result from the differences in Windows applications and Linux applications.
The failure I was seeing as listed above was a result of not having the project configured correctly. I didn't have the libs and dlls identified in the right places.
I think the most significant thing in the code was I needed to add sf::JoyStick::update() before the isConnected() line. From what posts I found this only applies to the windows environment.
So after correcting the configuration and adding one line of code it is now functioning. Now I am proceeding to add code to accept input from the joystick and provide that information to my application.
BTW.. I sort of figured you could use Qt and SFML in Express without the Qt plugin. But you loose all of the visual capabilities of Creator. As I am just beginning using Qt, the Creator has been a great help in building my application. Maybe once I get comfortable enough with Qt I will consider using VS Express. For the moment I'll stick with Creator. Although the errors messages that come from Creator both during compile and execution leave a lot of confusion and create a lot of frustration for me.
Thanks for your responses.
The failure I was seeing as listed above was a result of not having the project configured correctly. I didn't have the libs and dlls identified in the right places.
I think the most significant thing in the code was I needed to add sf::JoyStick::update() before the isConnected() line. From what posts I found this only applies to the windows environment.
So after correcting the configuration and adding one line of code it is now functioning. Now I am proceeding to add code to accept input from the joystick and provide that information to my application.
BTW.. I sort of figured you could use Qt and SFML in Express without the Qt plugin. But you loose all of the visual capabilities of Creator. As I am just beginning using Qt, the Creator has been a great help in building my application. Maybe once I get comfortable enough with Qt I will consider using VS Express. For the moment I'll stick with Creator. Although the errors messages that come from Creator both during compile and execution leave a lot of confusion and create a lot of frustration for me.
Thanks for your responses.