title: Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
body: <p>Whenever I use OpenCV's <code>cv::imshow</code> alongside with Qt's <code>QApplication</code>, I get this error: </p>
  
  <pre><code>Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
  </code></pre>
  
  <p>I did some searching and ended up reading more and more about stuff I don't fully understand, but got some ideas how OpenCV and GTK+ are connected. And since the warning is obviously an instruction to call something before something, I included <code>gtk.h</code> and called <code>gtk_disable_setlocale()</code>, but ended up with even more errors. </p>
  
  <p>My code runs despite the warning without any problem, but it really bugs me! And I assume that behind the warning, there are some essential stuff a programmer should understand. So maybe somebody can explain the whole thing in a way an advanced newbie can understand? ;)</p>
  
  <p><strong>Edit:</strong>
  I'm using ubuntu 12.10, OpenCV 2.4, GTK 2.24.13 and <code>qmake -v</code> tells me </p>
  
  <pre><code>QMake version 2.01a 
  Using Qt version 4.8.3 in /usr/lib/x86_64-linux-gnu
  </code></pre>