[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for compile failures!
- From: Flavio Stanchina <flavio at stanchina dot net>
- Date: Sat, 05 Nov 2005 11:49:40 +0100
Aaron M Dulles-Coelho wrote on Thu, 15 Sep 2005:
Ok, so I'm not the only one who got the compile errors with this data...
[...]
main.cpp: In function 'int main(int, char**)':
main.cpp:31: error: expected type-specifier before 'QWindowsStyle'
[...]
But I figured out that if you just comment out that line 31 of main.cpp,
the whole thing compiles without error and produces the deb packages. Rock.
[...]
NB: I'm still stuck trying to compile the module, so I haven't tested
the actual module and seen the effects on the panel. I assume from what
I've seen in Qt documentation that it simply won't set the Window Style
to a Microsoft Windows style. That's ok by me, though!
Aaron, sorry for replying so late but I had a busy month. Thanks for your
patch, I've included it because it fixes the compilation error, but also
because that line was indeed setting the window style to be like Windows
and I don't think anybody prefers that style over the default Qt style or
the window style they set in the Qt (or KDE) preferences. I, for one,
don't, and I was so dumb that I didn't realize the panel source was
explicitly asking for that ugly style.
--
Ciao, Flavio