Skip to content
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

Article : QGIS 4 (WIP) #1211

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Article : QGIS 4 (WIP) #1211

wants to merge 6 commits into from

Conversation

Guts
Copy link
Member

@Guts Guts commented Oct 8, 2024

No description provided.

@github-actions github-actions bot added the articles Tutoriels, actualité, billet... label Oct 8, 2024

This comment has been minimized.

2 similar comments

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@Guts Guts self-assigned this Oct 9, 2024
@Guts
Copy link
Member Author

Guts commented Oct 9, 2024

ping @troopa81 pour ajuster la partie linux et build...

This comment has been minimized.

cd ~/Git
git clone https://github.com/qgis/QGIS.git -b release-3_38 --single-branch --depth 1
cd QGIS
CXX=clang++-14 && CC=clang-14 && cmakeQGIS -DWITH_QTWEBKIT=FALSE -DWITH_SERVER=FALSE -DBUILD_WITH_QT6=ON -DCMAKE_PREFIX_PATH="$DEPENDS_DIR/qwt/install" -DCMAKE_INSTALL_PREFIX=/usr/local/bin/qgis-build/
Copy link

Choose a reason for hiding this comment

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

Si on build avec clang il faut installer le paquet qui va bien. Sinon, pas forcément la peine de setter ces variables et on utilisera gcc par défaut (amené par build-essential il me semble)

-DCMAKE_PREFIX_PATH="$DEPENDS_DIR/qwt/install"

Cette partie nécessite d'être compilé à la main au préalable j'en ai bien peur. A moins qu'un paquet qwt-qt6 existe enfin?

Copy link
Member Author

Choose a reason for hiding this comment

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

Si on build avec clang il faut installer le paquet qui va bien. Sinon, pas forcément la peine de setter ces variables et on utilisera gcc par défaut (amené par build-essential il me semble)

C'est quoi l'avantage de builder avec clang ? Je pense que moins on ajoute de fioriture, mieux c'est.

Cette partie nécessite d'être compilé à la main au préalable j'en ai bien peur. A moins qu'un paquet qwt-qt6 existe enfin?

Idéalement ce serait apt install qwt-qt6 ? Sinon je sais pas comment faire...

Copy link

Choose a reason for hiding this comment

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

C'est quoi l'avantage de builder avec clang ? Je pense que moins on ajoute de fioriture, mieux c'est.

peut-être plus rapide, et encore. Pour un simple build mieux vaut faire sans en effet

Idéalement ce serait apt install qwt-qt6 ? Sinon je sais pas comment faire...

Je vois tjs pas de paquet...

tu peux télécharger les sources ici

Sur le site ils disent de build comme ça

cd qwt-6.3.0
qmake6 qwt.pro
make
make install

Ca va installer sur ton système, pas idéal, mais pas grave. Si tu veux pas, tu peux copier le contenu du build (aprés make, pas besoin de make install) comme ça:

 cp -Rf lib/* ./install/lib
 cp -Rf src/* ./install/include/qwt

…source.md

Co-authored-by: Julien Cabieces <[email protected]>
Signed-off-by: Julien <[email protected]>

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Oct 9, 2024

👏 Le markdown ajouté ou modifié est impeccable ! Merci 🥇

Copy link
Contributor

github-actions bot commented Oct 9, 2024

🎉 Le site de prévisualisation pour cette PR a été généré et est disponible sous ce lien.
Commit de référence : 3a57de8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
articles Tutoriels, actualité, billet...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants