Re: [Linpsk-users] Compilation woes
Brought to you by:
dl1ksv
|
From: Volker S. <dl...@gm...> - 2004-10-22 14:53:08
|
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../src/interfaces -I../src/portaudio -I/usr/local/include -I/usr/lib/qt-3.3.2/include -D_REENTRANT -DQT_THREAD_SUPPORT -I./portaudio -I./interfaces -g -O2 -c -o csquelch.o `test -f 'csquelch.cpp' || echo './'`csquelch.cpp
>
> csquelch.cpp: In member function `virtual void
>
> mySlider::paintEvent(QPaintEvent*)':
>
> csquelch.cpp:65: error: `QWindowsStyle' undeclared (first use this function)
>
> csquelch.cpp:65: error: (Each undeclared identifier is reported only once for
>
> each function it appears in.)
>
> csquelch.cpp:65: error: parse error before `;' token
>
> csquelch.cpp:79: error: `Style' undeclared (first use this function)
>
> make[3]: *** [csquelch.o] Error 1
>
This might be a problem due to your qt setup.
configure supports to implement different styles. Look for the default
used on your system by
./configure --help
I get
-qt-style-<style> ..... Enable a GUI <style> in the Qt Library, by default
all available styles are on.
-plugin-style-<style> . Enable GUI <style> as a plugin to be linked to
at run time.
-no-style-<style> ..... Disable GUI <style> entirely.
Look at your .qmake.cache file located in the qt - home directory.
There should be a line
style =
My one looks:
styles += windows motif mac platinum sgi cde motifplus
Perhaps this solves the question.
73, Volker, DL1KSV
|