MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003495 | Doomseeker | [All Projects] Suggestion | public | 2018-09-18 20:27 | 2018-10-27 22:55 |
|
Reporter | WubTheCaptain | |
Assigned To | Blzut3 | |
Priority | normal | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | amd64 | OS | OpenBSD | OS Version | 6.4-current |
Product Version | 1.1 | |
Target Version | 1.2 | Fixed in Version | 1.2 | |
|
Summary | 0003495: Cleanup CMake files to "find Qt5 the right way" |
Description | Qt 5 modules don't need to be found individually. Use "find_package(Qt5 COMPONENTS Core Widgets [...] REQUIRED)" syntax, instead of multiple lines. |
Steps To Reproduce | |
Additional Information | CMake: Finding Qt 5 the "Right Way"
Found while trying to build Doomseeker 1.2~beta from source on OpenBSD -current (6.4), with failing Qt5 detection.
Qt5 support was added by Blutz3 with commit a12be25e533bb1b217e0502d6f85879c2c40e5b5. |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-09-18 20:27 | WubTheCaptain | New Issue | |
2018-09-18 20:39 | WubTheCaptain | Note Added: 0019546 | |
2018-09-18 20:42 | WubTheCaptain | Assigned To | => Blzut3 |
2018-09-18 20:42 | WubTheCaptain | Status | new => assigned |
2018-09-18 20:42 | WubTheCaptain | Additional Information Updated | bug_revision_view_page.php?rev_id=11813#r11813 |
2018-09-18 20:42 | WubTheCaptain | Status | assigned => new |
2018-09-22 22:50 | Blzut3 | Status | new => assigned |
2018-09-22 22:50 | Blzut3 | Target Version | => 1.2 |
2018-09-22 22:51 | Blzut3 | Note Added: 0019667 | |
2018-09-22 22:51 | Blzut3 | Status | assigned => needs review |
2018-09-22 23:38 | WubTheCaptain | Status | needs review => needs testing |
2018-09-22 23:39 | WubTheCaptain | Note Added: 0019674 | |
2018-09-23 00:17 | WubTheCaptain | Note Added: 0019677 | |
2018-09-23 00:21 | Blzut3 | Note Added: 0019678 | |
2018-09-23 00:49 | WubTheCaptain | Note Added: 0019681 | |
2018-09-23 00:49 | WubTheCaptain | Status | needs testing => resolved |
2018-09-23 00:49 | WubTheCaptain | Fixed in Version | => 1.2 |
2018-09-23 00:49 | WubTheCaptain | Resolution | open => fixed |
2018-09-23 00:50 | WubTheCaptain | OS | => OpenBSD |
2018-09-23 00:50 | WubTheCaptain | OS Version | => 6.4-current |
2018-09-23 00:50 | WubTheCaptain | Platform | => amd64 |
2018-09-23 00:52 | WubTheCaptain | Note Edited: 0019681 | bug_revision_view_page.php?bugnote_id=19681#r11947 |
2018-09-23 00:52 | WubTheCaptain | Note Edited: 0019681 | bug_revision_view_page.php?bugnote_id=19681#r11948 |
2018-10-27 22:55 | WubTheCaptain | Status | resolved => closed |
Notes |
|
|
Doomseeker 1.0 is not affected, as it didn't support Qt5. |
|
|
(0019667)
|
Blzut3
|
2018-09-22 22:51
|
|
|
|
|
Bitbucket pipelines already passed this, but just to be sure I'll test on OpenBSD later. |
|
|
|
Question: Why is there a new branch "@" tagged to this commit? |
|
|
(0019678)
|
Blzut3
|
2018-09-23 00:21
|
|
From:'https://www.mercurial-scm.org/wiki/Bookmarks [^]'
Quote If you have a bookmark named @ when cloning a remote repository, "hg clone" will check it out by default.
While Pol M was learning to use bookmarks I noticed that we never added the default bookmark to our repo, so now we have it. |
|
|
(0019681)
|
WubTheCaptain
|
2018-09-23 00:49
(edited on: 2018-09-23 00:52) |
|
As long as the @ bookmark is reasonably up to date or sensible, okay. (No idea what's the most sensible place to tag it to.)
Building on OpenBSD just became so much easier, thanks to resolving this ticket only need to export Qt5_DIR now:
export Qt5_DIR=/usr/local/lib/qt5/cmake/Qt5
cmake -DCMAKE_CXX_FLAGS='-I/usr/local/include' $DOOMSEEKER_SRC
make
(Okay, I cheated a little bit with better cmake instructions. 😄)
Compare to previous build steps:
export Qt5Widgets_DIR=/usr/local/lib/qt5/cmake/Qt5Widgets
export Qt5LinguistTools_DIR=/usr/local/lib/qt5/cmake/Qt5LinguistTools
export Qt5Multimedia_DIR=/usr/local/lib/qt5/cmake/Qt5Multimedia
export Qt5Xml_DIR=/usr/local/lib/qt5/cmake/Qt5Xml
export CPATH=$CPATH:/usr/local/include
cmake $DOOMSEEKER_SRC
make
|
|