Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Andreas Pakulat
Hi, On Mon, Aug 13, 2012 at 9:40 PM, Toronto Andrew wrote: > > Andreas Pakulat-2 wrote >> >> Relocating Qt requires either patching the qmake binary or installing >> a qt.conf file to help qmake find the libs in the new position. The >> absolute include/lib dirs are hardcoded into qmake when its

Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Toronto Andrew
Andreas Pakulat-2 wrote > > Hi, > > Relocating Qt requires either patching the qmake binary or installing > a qt.conf file to help qmake find the libs in the new position. The > absolute include/lib dirs are hardcoded into qmake when its being > built. See http://doc.qt.nokia.com/4.7/qt-conf.htm

Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Andreas Pakulat
Hi, On Mon, Aug 13, 2012 at 4:16 PM, Toronto Andrew wrote: > Haha spot on mate. > > I did so. To rectify, I reinstalled VTK and CMake, fixed the PATH var and > the QTDIR. Relocating Qt requires either patching the qmake binary or installing a qt.conf file to help qmake find the libs in the new p

Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Toronto Andrew
Haha spot on mate. I did so. To rectify, I reinstalled VTK and CMake, fixed the PATH var and the QTDIR. FindQt4 now actually finds 4.8.2 as opposed to 4.8.0, however some flags like QT_USE_FILE and QT_QTGUI_LIBRARY seem to still point at 4.8.0 prompting some linker issues during the build. http

Re: [CMake] CMake is unable to find QtCore!

2012-08-13 Thread Clinton Stimpson
Did you make the mistake of relocating your Qt installation? You could run qmake -query to see the paths it prints out, to make sure it matches your installation. Clint On Aug 12, 2012, at 12:59 PM, Toronto Andrew wrote: > Yes to both John, I did point the CMake gui to the position of the qmake

Re: [CMake] CMake is unable to find QtCore!

2012-08-12 Thread Toronto Andrew
Yes to both John, I did point the CMake gui to the position of the qmake.exe within the bin, and it does come with whatever DLLs the source comes with. I am using Qt 4.8.0 and the latest CMake gui for Windows (x86). Some other things to get out of the way: QTDIR is set to C:/Qt/4.8.0/bin, and t

Re: [CMake] CMake is unable to find QtCore!

2012-08-12 Thread John Drescher
On Sun, Aug 12, 2012 at 10:33 AM, John Drescher wrote: > On Sun, Aug 12, 2012 at 10:30 AM, Toronto Andrew > wrote: >> I get the following errors when trying to build my Qt project: >> >> CMake Error at C:/Program Files (x86)/CMake >> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE): >> C

Re: [CMake] CMake is unable to find QtCore!

2012-08-12 Thread John Drescher
On Sun, Aug 12, 2012 at 10:30 AM, Toronto Andrew wrote: > I get the following errors when trying to build my Qt project: > > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE): > Could NOT find QtCore. Check > > And I need to manually point the

[CMake] CMake is unable to find QtCore!

2012-08-12 Thread Toronto Andrew
I get the following errors when trying to build my Qt project: CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE): Could NOT find QtCore. Check And I need to manually point the CMake gui in the direction of qmake.exe; additionally, I receive th