Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #839110

open

Task #774803: Emscripten clients for web.

Add Qt Emscripten client to autotools build

Added by Zoltán Žarkov over 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)

Description

I've made the build system changes to allow the Qt Emscripten work to be upstreamed.


Files


Sub-issues 1 (1 open0 closed)

Feature #873419: Consolidate Qt configure flagsNew

Actions

Related issues

Blocked by Freeciv - Feature #838867: Add SDL2 Emscripten client to autotools buildNew

Actions
Actions #3

Updated by Zoltán Žarkov over 5 years ago

  • Blocked by Feature #838867: Add SDL2 Emscripten client to autotools build added
Actions #5

Updated by Jacob Nevins about 5 years ago

  • Sprint/Milestone changed from 2.6.1 to 2.6.2
Actions #6

Updated by Jacob Nevins about 5 years ago

  • Sprint/Milestone changed from 2.6.2 to 3.0.0
Actions #7

Updated by Marko Lindqvist over 4 years ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0
Actions #8

Updated by Marko Lindqvist over 4 years ago

Is a new separate --with-qt5 configure option really needed? Why aren't existing --with-qt5-includes & --with-qt5-libs & MOCCMD sufficient?
If the new option is really needed, it should be implemented first in a separate ticket.

Actions #9

Updated by Zoltán Žarkov over 4 years ago

Not necessary to add --with-qt5 option here, but adding logic to remove -fPIC from CXXFLAGS is needed.

Actions #10

Updated by Zoltán Žarkov over 4 years ago

No, I was wrong, we also have to link against -L$with_qt5/plugins/platforms. The plugins directory is outside $qt5_lib.

Actions #11

Updated by Marko Lindqvist over 4 years ago

Zoltán Žarkov wrote:

No, I was wrong, we also have to link against -L$with_qt5/plugins/platforms. The plugins directory is outside $qt5_lib.

Then the question is should this be, for maximum flexibility, third --with-qt5-plugins option to be used alongside --with-qt5-includes and --with-qt5-libs, or just one option to set the root directory as in the existing patch?

Actions #12

Updated by Zoltán Žarkov over 4 years ago

The best option will be specifying qmake path (maybe --with-qmake) and using qmake -query to return individual directories as needed. Includes and libs may not be the same subdirectories of the qt root in normal cases.

On my distro-installed qt:
QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt5
QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu

A wasm install:
QT_INSTALL_HEADERS:/qt5/emscripten-wasm-install/include
QT_INSTALL_LIBS:/qt5/emscripten-wasm-install/lib

Also available in: Atom PDF