Qt-interest Archive, March 2002
Problem with uic on Win
Message 1 in thread
I'm using the Windows Eval version of Qt for testing. I ran into
several problems with MSVC6 not compiling the application. The one that
I am particulary focused on now is with the 'uic' command. On some of
the Ui files we are getting the following error:
No style available in non-gui applications!
This is promptly followed by nmake quiting. The .h/.cpp files are
generated and simply starting nmake again picks up at the next file. I
ran the exact same command on linux and did not get the same error
message. I'm running 3.0.2 on linux. Is this a problem that was fixed
in 3.0.2?
Any info would be greatly appreciated.
Chris
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Message 2 in thread
I was digging around and found that problems occurs with custom
widgets. I'm not sure if there any thing specific to the widgets that
cause the problem but if i comment out the <widget> tags that reference
custom widgets the problem goes away. In addition the .cpp files are
not completely generated. In each cause were the error was encountered
the .cpp files contained the header message and the include of the .h.
My guess is the problem is in Uic::createFormImpl() before the first
out statement.
Thanks in advance.
Chris
Chris Ryan wrote:
>
> I'm using the Windows Eval version of Qt for testing. I ran into
> several problems with MSVC6 not compiling the application. The one that
> I am particulary focused on now is with the 'uic' command. On some of
> the Ui files we are getting the following error:
>
> No style available in non-gui applications!
>
> This is promptly followed by nmake quiting. The .h/.cpp files are
> generated and simply starting nmake again picks up at the next file. I
> ran the exact same command on linux and did not get the same error
> message. I'm running 3.0.2 on linux. Is this a problem that was fixed
> in 3.0.2?
>
> Any info would be greatly appreciated.
>
> Chris
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com