Re: qwindowstyle.h problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Freitag, 28. Februar 2003 12:32, Leopold Palomo Avellaneda wrote: Q: I have an application that when linking gives me symbol referencing errors to Q*Style. Why does my applicationnot link correctly ? A: The author of the program is using the styles that ship with Qt directly instead of using the QStylePlugin interface.If you are the author of the program, change your program to use QStylePlugin. If you are a packager, write to theauthor of the program that he is assuming that the styles shipped with Qt are built-in to the library which is not the case on Debian and that he please should fix this and use QStylePlugin. but I understand that it's something about the linking, but not the compile. It is a matter of both if the header file prevents compiling already. The reason why the header files for the plugins are in package libqt3-plugin-headers (which are only there for your reference, *not* for using it to compile anything) is that if an app uses qwindowsstyle.h or any other style header it is most likely that it will also try to access the member functions in the library. As that is not the case providing the header files by default will result in that you can compile, but not link. With the header files for the plugins stripped out you can find out about problems much earlier. I think we have to update the readme again *sigh* Ralf However I have found in the web this: http://lists.debian.org/debian-devel/2002/debian-devel-200210/msg00771.html So I understand that the debian qt version has the Styles as plugins. But, why do not put the include file? It's in the qt3.1 version. Maybe will have some compatibility problem with others distros. No?. Well, I just ask, I wouldn't like a flame. I follow the README and I contact with the author of the applications. Regards, Leo - -- We're not a company, we just produce better code at less costs. - Ralf Nolden [EMAIL PROTECTED] The K Desktop Environment The KDevelop Project http://www.kde.org http://www.kdevelop.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+X07du0nKi+w1Ky8RAvJJAKCW6guUcJgtsfNgXlUpBIS8pa/FbACeKL1+ cr/8T1/poSNaygrSe5VIltQ= =q5ou -END PGP SIGNATURE-
qwindowstyle.h problem
Hi, I write also to Martin Loschwitz as the maintainer of the package. First I have to say that I have looked the README.Debian I'm trying to compile an library (SoQt). I think that the last week compiled with the libqt3-mt-dev from ktown, but now I cannot know which version exactly (I'm in the work, and I have the copy at home) I have an error qwindowsstyle.h: No such file or directory I have read that there's some differences about headers bla, bla. I have looked on the web http://doc.trolltech.com/3.1/qwindowsstyle.html#details and I think that it's a valid header for the 3.1 version. I know that it's a Microsoft Windows-like look and feel but I don't think that it's a reason to not include it. ;-) I have found also something about - Q: I have an application that when linking gives me symbol referencing errors to Q*Style. Why does my applicationnot link correctly ? A: The author of the program is using the styles that ship with Qt directly instead of using the QStylePlugin interface.If you are the author of the program, change your program to use QStylePlugin. If you are a packager, write to theauthor of the program that he is assuming that the styles shipped with Qt are built-in to the library which is not the case on Debian and that he please should fix this and use QStylePlugin. but I understand that it's something about the linking, but not the compile. However I have found in the web this: http://lists.debian.org/debian-devel/2002/debian-devel-200210/msg00771.html So I understand that the debian qt version has the Styles as plugins. But, why do not put the include file? It's in the qt3.1 version. Maybe will have some compatibility problem with others distros. No?. Well, I just ask, I wouldn't like a flame. I follow the README and I contact with the author of the applications. Regards, Leo
Re: qwindowstyle.h problem
On Fri, Feb 28, 2003 at 12:32:33PM +0100, Leopold Palomo Avellaneda wrote: I have an error qwindowsstyle.h: No such file or directory 0[EMAIL PROTECTED]:~$ dpkg -S /usr/include/qt3/qwindowsstyle.h libqt3-plugins-headers: /usr/include/qt3/qwindowsstyle.h The file is in libqt3-plugins-headers package. -- .''`. Martin Loschwitz Debian GNU/Linux developer : :' : [EMAIL PROTECTED][EMAIL PROTECTED] `. `'` http://www.madkiss.org/people.debian.org/~madkiss/ `- Use Debian GNU/Linux 3.0! See http://www.debian.org/ pgp2IvCfIxjdB.pgp Description: PGP signature
Re: qwindowstyle.h problem
A Divendres 28 Febrer 2003 15:48, Martin Loschwitz va escriure: On Fri, Feb 28, 2003 at 12:32:33PM +0100, Leopold Palomo Avellaneda wrote: I have an error qwindowsstyle.h: No such file or directory 0[EMAIL PROTECTED]:~$ dpkg -S /usr/include/qt3/qwindowsstyle.h libqt3-plugins-headers: /usr/include/qt3/qwindowsstyle.h The file is in libqt3-plugins-headers package. Ok, thank's. Regards.