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

Task #774803: Emscripten clients for web.

Add Qt Emscripten client to autotools build

Added by Zoltán Žarkov almost 3 years ago. Updated over 2 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.


Subtasks

Feature #873419: Consolidate Qt configure flagsNew

Actions

Related issues

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

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#3 Updated by Zoltán Žarkov almost 3 years ago

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

#5 Updated by Jacob Nevins over 2 years ago

  • Sprint/Milestone changed from 2.6.1 to 2.6.2

#6 Updated by Jacob Nevins over 2 years ago

  • Sprint/Milestone changed from 2.6.2 to 3.0.0

#7 Updated by Marko Lindqvist over 2 years ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0

#8 Updated by Marko Lindqvist over 2 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.

#9 Updated by Zoltán Žarkov over 2 years ago

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

#10 Updated by Zoltán Žarkov over 2 years ago

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

#11 Updated by Marko Lindqvist over 2 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?

#12 Updated by Zoltán Žarkov over 2 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