Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-15 Thread e...@cs.bgu.ac.il
On Wed 13 Oct 22:29 2010 Alexander Neundorf wrote: On Tuesday 05 October 2010, e...@cs.bgu.ac.il wrote: the project's one? I've copied the hpp and cpp files into one of my src dirs. still not compiling Don't use file(GLOB ...) to collect your source files. Use explicit set(GUI_SRCS

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-13 Thread Alexander Neundorf
On Tuesday 05 October 2010, e...@cs.bgu.ac.il wrote: the project's one? I've copied the hpp and cpp files into one of my src dirs. still not compiling Don't use file(GLOB ...) to collect your source files. Use explicit set(GUI_SRCS a.cpp b.cpp ...) calls. This avoids problems like wrong files

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-07 Thread e...@cs.bgu.ac.il
tried that, no go On Tue 05 Oct 21:44 2010 John Drescher wrote: On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote: nope, like I wrote in the first post, I need a string spinbox so I've extended qspinbox to support strings. that is the custom widget in question.

[CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
hello. I have a cmake+qt4 project, I needed to extend a certain gui item to suit my needs, I've been able to insert it into qtcreator and incorporate it into the project's gui, now when I run compilation, I get this: /home/dagg/workspace/OSSM/src/GUI/ui_TrainingActivityManager.h:29:28: error:

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread John Drescher
On Tue, Oct 5, 2010 at 2:59 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote: hello. I have a cmake+qt4 project, I needed to extend a certain gui item to suit my needs, I've been able to insert it into qtcreator and incorporate it into the project's gui, now when I run compilation, I get this:

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread norulez
Did you have SET(QT_USE_QTGUI TRUE) in your CMakeLists.txt file? Am 05.10.2010 um 20:59 schrieb e...@cs.bgu.ac.il e...@cs.bgu.ac.il: hello. I have a cmake+qt4 project, I needed to extend a certain gui item to suit my needs, I've been able to insert it into qtcreator and incorporate it into

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
yes, there is a possibility I've posted it in the wrong one. On Tue 05 Oct 21:03 2010 norulez wrote: Did you have SET(QT_USE_QTGUI TRUE) in your CMakeLists.txt file? Am 05.10.2010 um 20:59 schrieb e...@cs.bgu.ac.il e...@cs.bgu.ac.il: hello. I have a cmake+qt4 project, I needed to

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
probably, here is the gui libs CMakeList.txt: #get all cpp files in libs FILE(GLOB GUI_CPP *.cpp) FILE(GLOB GUI_HPP *.hpp) FILE(GLOB GUI_UI *.ui) SET(QT_USE_QTGUI TRUE) #splice out all non UI headers, still in testing, currently disabled. SET (SPLICED_GUI_HPP ) foreach (SITEM ${GUI_HPP}) set

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread NoRulez
I don't know about a qstringspinbox, did you mean QSpinBox instead? Am 05.10.2010 um 21:15 schrieb e...@cs.bgu.ac.il e...@cs.bgu.ac.il: probably, here is the gui libs CMakeList.txt: #get all cpp files in libs FILE(GLOB GUI_CPP *.cpp) FILE(GLOB GUI_HPP *.hpp) FILE(GLOB GUI_UI *.ui)

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
nope, like I wrote in the first post, I need a string spinbox so I've extended qspinbox to support strings. that is the custom widget in question. On Tue 05 Oct 21:32 2010 NoRulez wrote: I don't know about a qstringspinbox, did you mean QSpinBox instead? Am 05.10.2010 um 21:15 schrieb

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread John Drescher
On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote: nope, like I wrote in the first post, I need a string spinbox so I've extended qspinbox to support strings. that is the custom widget in question. You need to add the path of where ever your custom widget is into one

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread e...@cs.bgu.ac.il
the project's one? I've copied the hpp and cpp files into one of my src dirs. still not compiling On Tue 05 Oct 21:44 2010 John Drescher wrote: On Tue, Oct 5, 2010 at 3:41 PM, e...@cs.bgu.ac.il e...@cs.bgu.ac.il wrote: nope, like I wrote in the first post, I need a string spinbox so I've

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread Andreas Pakulat
On 05.10.10 20:59:27, e...@cs.bgu.ac.il wrote: hello. I have a cmake+qt4 project, I needed to extend a certain gui item to suit my needs, I've been able to insert it into qtcreator and incorporate it into the project's gui, now when I run compilation, I get this: