31 stdenv.mkDerivation rec {
36 url = "https://download.qt.io/official_releases/${pname}/${lib.versions.majorMinor version}/${version}/qt-creator-opensource-src-${version}.tar.xz";
37 hash = "sha256-7BTwXycHFEVaLw1AuKqwLtkkHU+k8D6lOb/sWBnp4DY=";
43 (qttools.override { withClang = true; })
72 # workaround for missing CMAKE_INSTALL_DATAROOTDIR
73 # in pkgs/development/tools/build-managers/cmake/setup-hook.sh
74 "-DCMAKE_INSTALL_DATAROOTDIR=${placeholder "out"}/share"
75 # qtdeclarative in nixpkgs does not provide qmlsc
76 # fix can't find Qt6QmlCompilerPlusPrivate
77 "-DQT_NO_FIND_QMLSC=TRUE"
79 "-DBUILD_DEVELOPER_DOCS=ON"
81 "-DQTC_CLANG_BUILDMODE_MATCH=ON"
82 "-DCLANGTOOLING_LINK_CLANG_DYLIB=ON"
86 "--set-default PERFPROFILER_PARSER_FILEPATH ${lib.getBin perf}/bin"
90 substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop \
91 --replace "Exec=qtcreator" "Exec=$out/bin/qtcreator"
95 description = "Cross-platform IDE tailored to the needs of Qt developers";
97 Qt Creator is a cross-platform IDE (integrated development environment)
98 tailored to the needs of Qt developers. It includes features such as an
99 advanced code editor, a visual debugger and a GUI designer.
101 homepage = "https://wiki.qt.io/Qt_Creator";
102 license = licenses.gpl3Only; # annotated with The Qt Company GPL Exception 1.0
103 maintainers = [ maintainers.rewine ];
104 platforms = platforms.linux;