openframeworks / openframeworks/openFrameworks

Linker flags not working in qtCreator / 0.9.7

Open
#5,349 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation qtcreator
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

I recently upgraded a project to 0.9.7 and the additional linker flags no longer appear to be added, e.g. I have added the following in the .qbs file:

of.linkerFlags: ["-lftdi"]  

however the flags don't appear in the final linking step and therefore the app fails to compile.
This is under Linux, but probably affects all.

Contributor guide

Open the contributing guide

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 reproducing the issue under Linux using the shown .qbs setting in Qt Creator 0.9.7, then inspect the final linking command to determine where the linker flags are lost. Done means the configured -lftdi flag appears in the final link step and the application compiles.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.