Skip to content

Qt static build - installs missing static libraries and adds missing dependancies in pkgconfig and pri files#277

Closed
matteoceraico wants to merge 23 commits intoqtwebkit:qtwebkit-stablefrom
matteoceraico:qtwebkit-stable
Closed

Qt static build - installs missing static libraries and adds missing dependancies in pkgconfig and pri files#277
matteoceraico wants to merge 23 commits intoqtwebkit:qtwebkit-stablefrom
matteoceraico:qtwebkit-stable

Conversation

@matteoceraico
Copy link
Copy Markdown

Installs:

  • libbmalloc
  • libWTF
  • libJavaScriptCore
  • libWebCore

Adds missing dependancies in:

  • Qt5WebKit.pc
  • qt_lib_webkit.pri

Cerri and others added 19 commits July 15, 2016 12:57
New cmake arguments added:
- DISABLE_TESTS, disables all test
- QT_STATIC_BUILD, defines that qt is compiled as a static lib

Provided ability to exclude QT features, you need to add the parameters
(in accordance with QT) as a cmake argument (e.g.:
-DQT_NO_GRAPHICSVIEW=ON)
Now QT_STATIC_BUILD is populated dynamically
We’re able to manage it in another way
DISABLE_TESTS has been substituted with ENABLE_TEST_SUPPORT (that was
already implemented)
Moved declaration of QT_STATIC_BUILD
Used a better check for the tests related to the JavaScriptCore (we’re
looking for ENABLE_API_TESTS instead of ENABLE_TEST_SUPPORT)
The sources of SQLITE3 will be compiled instead of to use the system
libraries.
Change-Id: Ia909a560db58d6cdc6ec4bbac879249eb5e286ef
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Change-Id: If0155e6706cc91f2b00e2a446c8f5643b88f0b69
They are deprecated since Qt 5.0.

Change-Id: Id6df1fa1eec1e1f6bee863d7c00f37a599dd49f3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
BASE_NAME Qt5WebKit
LIB_INSTALL_DIR "lib"
DEPS "Qt5Core Qt5Gui Qt5Network"
DEPS "Qt5Core Qt5Gui Qt5Network Qt5Sql${PKGCONFIG_EXTRA_LIBS}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not link users of standard build to Qt5Sql, it's a private dependency

set(WEBKIT_PRI_DEPS "${WEBKIT_PRI_DEPS} sql")
set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKITWIDGETS_PKGCONFIG_DEPS} Qt5PrintSupport")
set(WEBKITWIDGETS_PRI_DEPS "${WEBKITWIDGETS_PRI_DEPS} printsupport")
set(EXTRA_LIBS_NAMES "WTF" "JavaScriptCore" "WebCore" "xml2")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order is wrong, should be

set(EXTRA_LIBS_NAMES WebCore JavaScriptCore WTF xml2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants