KitwareMedical / KitwareMedical/SlicerCustomAppTemplate

The template have some problem in "Main.cxx" and "q{xxxxxxx}MainWindow.cxx" leading to build issues

Open
#110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
71
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I used "cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate" to create my app, and I did not set the Slicer_MAIN_PROJECT_APPLICATION_DISPLAY_NAME in the command line.

  1. A problem shows Slicer_MAIN_PROJECT_APPLICATION_DISPLAY_NAME is not defined in Main.cxx; It may be solved by setting the value of it in command? But I solved it by changing it to Slicer_MAIN_PROJECT_APPLICATION_NAME, which is removed the substring "DISPLAY_".
  2. In q{xxxxxx}AppMainWindow.cxx at line 66 reads qSlicerApplication::application()->mainApplicationDisplayName(), but there is not a attribute iin application named mainApplicationDisplayName, and I solved it by changing to mainApplicationName, which is removed the substring "Display".

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the generated Main.cxx and q{xxxxxxx}AppMainWindow.cxx files, focusing on the two display-name references reported in the issue. Compare those references with the command-line variables available when creating the template, then verify that a freshly generated application builds without manual edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.