Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Building SFML from repository using QT creator IDE  (Read 8103 times)

0 Members and 1 Guest are viewing this topic.

toulis9999

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building SFML from repository using QT creator IDE
« Reply #15 on: October 31, 2012, 04:35:17 pm »
I've changed the order of linking (even tough I think the order would not matter in a sense..)

The main Issue I try to figure out is why the compiler/debugger/IDE does not complain about missing dll's (provided they are not in the \system32 folder to begin with) a la Visual Studio and happily executes without showing anything on screen.

I am by no means an expert but it seems to me that I am missing something.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Building SFML from repository using QT creator IDE
« Reply #16 on: October 31, 2012, 04:43:49 pm »
Quote
even tough I think the order would not matter in a sense..
It does, with gcc.

Quote
The main Issue I try to figure out is why the compiler/debugger/IDE does not complain about missing dll's (provided they are not in the \system32 folder to begin with) a la Visual Studio and happily executes without showing anything on screen.
What does "happily executes without showing anything on screen" mean? The application runs but shows no window? Or a window but nothing drawn inside? Or runs and ends immediately?

What happens if you run the executable from the Windows explorer directly?
Laurent Gomila - SFML developer

toulis9999

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building SFML from repository using QT creator IDE
« Reply #17 on: October 31, 2012, 04:57:41 pm »
The application runs but no window is shown.

When I run the executable from the explorer, then it complains about dlls.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Building SFML from repository using QT creator IDE
« Reply #18 on: October 31, 2012, 05:04:00 pm »
Check the application console (in QtCreator), the error messages may appear here instead of in a popup window.
Laurent Gomila - SFML developer

toulis9999

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building SFML from repository using QT creator IDE
« Reply #19 on: October 31, 2012, 05:09:14 pm »
A fresh project I created now executes properly from the IDE itself even without having the dlls in the .exe folder.

Sidenote: I am not overly familiar with Qt IDE. Since the process in the tutorial works I will leave it as it is for now.

If I come across any shortcomings during the development of my application, I will make sure to post again and modify the tutorial to reflect any changes.