[CMake] 32-bit MinGW and Qt on 64-bit Windows

2011-09-06 Thread Matthew Smith
Hi everyone, I recently installed the 64-bit version of Windows 7 on a computer which had previously been running 32-bit Vista (so, everything got wiped). I develop with Qt so I installed the standard Qt SDK (version 1.1.3 that was released last week; Qt libs version 4.7.4) and downloaded and

Re: [CMake] Combine GTK with a Cmake Project

2011-10-18 Thread Matthew Smith
Which version of GTK? You might like to give us further details of your project and the CMakeLists.txt file you are using.  Regards,  Matt Smith  --  http://www.blogistan.co.uk/blog/ David Boesner wrote: Hi, I've tried to combine CMake with GTK. Unfortunately this didn't work. Can you

[CMake] Linking to wrong version of Qt

2007-12-08 Thread Matthew Smith
Hi everyone, I'm using Linux Mint 4.0 and have just downloaded and compiled the latest version of Qt (4.3.3). I used the sandboxed version, as I already have the Ubuntu version of Qt 4 installed in /usr/lib for building Debian packages of QTM. I've tried actually building with the new versi

[CMake] Suppressing Windows console in Qt app

2008-03-24 Thread Matthew Smith
Hi everyone, When I build my Qt 4 app (QTM) using CMake on Windows Vista and then run it from a prompt, the prompt does not come back as it does with normal Windows GUI apps; it behaves as if it's running a console-based application. If you press Ctrl+C, it kills the program. If you run it

[CMake] Linking to wrong version of Qt

2008-05-07 Thread Matthew Smith
Hi everyone, When trying to compile my Qt 4 app on recent versions of Linux (in this case Ubuntu 8.04), I've noticed that it does not link against the correct version of Qt. I use the PATH export variable to link against a local install of Qt in /usr/local/Trolltech/Qt-4.4.0 and even though, duri

[CMake] Custom target failing to build on Mac

2008-06-07 Thread Matthew Smith
Hi everyone, I am trying to build a cross-platform Qt application, and use a header file, generated at build time, to produce a version number definition which can be included by any other source file, so I can define the version number once in the CMakeLists.txt file and have it reproduced anywhe

Re: [CMake] Use Qt Libarys in cmake

2007-05-06 Thread Matthew Smith
Manuel Schmidt wrote: Hello List, i m just trying cmake to build a small project. I m using Xml Stuff in it, so my *.pro file had something like 'QT += xml'. So far i think my CMakeLists.txt is right but the Xml lib is missing. CMake succeeds but make fails claiming that QDomDocument is not d

[CMake] Qt 4.3.0 - Relinking causes unresolved symbol errors

2007-06-06 Thread Matthew Smith
Hi everyone, I recently downloaded the source for Qt 4.3.0 and did a sandboxed local installation - i.e. /usr/local/Trolltech/Qt-4.3.0/ rather than installing the libs to the usual library directory. I configured and compiled my application QTM, and then installed it to /usr/local/bin. It fa

Re: [CMake] install cmake on centos5

2007-06-26 Thread Matthew Smith
Jean-Christophe Roux wrote: Hello, I need to install CMake on Centos5. yum install cmake returning nothing, I dowloaded Linux i386cmake-2.4.6-Linux-i386.sh This created a folder cmake-2.4.6-Linux-i386 with a bin, a doc, a man and a

[CMake] Feature request

2007-08-31 Thread Matthew Smith
Hi there, I'd like to ask if there is a CMake variable for the version of Qt that is present in a project? I've looked in my cache file and have never found one, even though the version number is displayed at configure stage when compiling the project. If there isn't one, perhaps one could

Re: [CMake] Project being (unnecessarily) relinked

2007-09-10 Thread Matthew Smith
Jesper Eskilson wrote: I'm still very much interested in an answer to this question. Regarding suppressing unnecessary relinking, I had a similar problem in my application (QTM) in which it was relinked at "make install" stage, often to a different version of Qt to the one I had chosen to l

[CMake] Custom command not honoured

2007-10-06 Thread Matthew Smith
Hi everyone, I'm having problems getting a shell script I've written to generate a freedesktop.org desktop entry file during the build process. I've tried using execute_process and add_custom_command, and neither seem to have any effect. Here is the code snippet: if( UNIX AND NOT APPLE ) if(

Re: [CMake] QT library succeeded

2013-08-17 Thread Matthew Smith
Qt-4.x.x/bin:$PATH export PATH Then run CMake and it will run qmake to determine which version you have while configuring. Regards, Matthew Smith -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers v