-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Qt modules #14
Comments
Phonon cannot be built with -static. I'll have to look into the other ones. It might be obvious, but would you mind explaining the use case for cross-building the other modules you mentioned? |
OK, thanks for looking into this. --- mingw-cross-env-2.18.orig/src/qt.mk 2010-06-16 19:04:40.000000000 +0200
+++ mingw-cross-env-2.18/src/qt.mk 2010-06-24 21:40:26.999785528 +0200
@@ -80,4 +80,7 @@
cd '$(1)/test-qt' && '$(TARGET)-qmake'
$(MAKE) -C '$(1)/test-qt' -j '$(JOBS)'
$(INSTALL) -m755 '$(1)/test-qt/release/test-qt.exe' '$(PREFIX)/$(TARGET)/bin/'
+
- cd '$(1)/tools/designer/src/uitools' && $(TARGET)-qmake
- $(MAKE) -C '$(1)/tools/designer/src/uitools' -j 1 install
endef```
It simply builds the files required for TeXworks. But maybe there is a better way...
QtHelp (http://qt-project.org/doc/qt-4.8/qthelp.html) provides access to help files produced by the Qt help collection generator (which can be used to create a help file similar to .chm on Windows). That can then be viewed in QtAssistant, or embedded into an application using the QHelpEngine class (which is part of the QtHelp module), e.g., to display it inline, or to provide "What's This" kind of help. I haven't used it in any production-ready application yet myself, though.
Finally, the QtDesigner module (http://qt-project.org/doc/qt-4.8/qtdesigner.html) contains mainly classes to compile plugins (e.g., new widgets, tools, or whatever) of QtDesigner, as I understand it. It also provides a QFormBuilder class which seems to have a similar purpose as QUiLoader above. I haven't used the QtDesigner module, yet, however, and don't intend to in the near future. I just provided it for the sake of completeness.
All other modules (including Qt3Support) seem to work fine (though most of them I only tested by including the respective header files). |
I added uitools based on your diff in 7a626e5. Could you check that? |
Looking good, thanks for applying (I didn't recompile Qt, though, as that takes several hours on my machine; maybe I find the time next week).
|
Would you mind testing that these libraries can actually be linked to an application successfully and that it runs? See also #23 about static qtwebkit apparently being futile now. I tried to build tools/assistant but linking failed because of missing symbols in webcore and/or QtWebKit. Haven't checked yet whether tools/assistant/lib introduces dependencies on qtwebkit. Also don't know if these dependencies still exist if Qt is configure with -no-webkit. |
Using QtHelp works if one also builds
(for whatever twisted reason, that is not included when just building in tools/assistant/lib). It works fine, presumably due to the fact that it essentially provides access to the underlying file structure (including managing the table of contents index, search, etc.), but does not actually display any (html) help files. That is left to the caller. So webkit may limit the actual use in some cases, but IMO should not prevent building. Regarding the QtDesigner module: when building a test program using the QFormBuilder class, I actually get a few
to the .pro file. Obviously, this is not elegant. We could obviously add it in some central location (e.g., in |
I think 4cf652d adds everything you mentioned and more. Everything links fine now that we no longer build qtwebkit. Could you check that it works for you? |
Hi. Thanks for that - if the tools can be built entirely that saves some trouble ;). |
The following modules are not available after
make qt
:QtHelp, QtDesigner, QtUiTools, Phonon
E.g., putting
in a source file produces a "file not found" error during compilation (even with
CONFIG += uitools
in the .pro file).The text was updated successfully, but these errors were encountered: