Summary: An IDE tailored to the needs of Qt developers
Summary(pl.UTF-8): IDE dostosowane do potrzeb developerow Qt
Name: qt-creator
-Version: 2.5.2
+Version: 3.4.1
Release: 1
Epoch: 1
License: LGPL v2.1
Group: X11/Development/Tools
-Source0: http://get.qt.nokia.com/qtcreator/%{name}-%{version}-src.zip
-# Source0-md5: 26fe8d7980f53ca07fdd1c959f4866d4
+Source0: http://download.qt-project.org/official_releases/qtcreator/3.4/%{version}/%{name}-opensource-src-%{version}.tar.gz
+# Source0-md5: bcbae4a567c93158babe3b7f42d01219
Source1: %{name}.desktop
Patch0: %{name}-pluginpath64.patch
-URL: http://qt.nokia.com/products/developer-tools
-BuildRequires: QtDBus-devel
-BuildRequires: QtDeclarative-devel
-BuildRequires: QtDesigner-devel
-BuildRequires: QtGui-devel
-BuildRequires: QtHelp-devel
-BuildRequires: QtNetwork-devel
-BuildRequires: QtScript-devel
-BuildRequires: QtSql-sqlite3
-BuildRequires: QtSvg-devel
-BuildRequires: QtWebKit-devel
-BuildRequires: QtXml-devel
-BuildRequires: qt4-build >= 4.7.4
-BuildRequires: qt4-linguist
-BuildRequires: qt4-qmake >= 4.7.4
+URL: http://qt.digia.com/Product/Developer-Tools
+BuildRequires: Qt5Declarative-devel >= 5.3.1
+BuildRequires: Qt5Designer-devel >= 5.3.1
+BuildRequires: Qt5Gui-devel >= 5.3.1
+BuildRequires: Qt5Help-devel >= 5.3.1
+BuildRequires: Qt5Network-devel >= 5.3.1
+BuildRequires: Qt5Script-devel >= 5.3.1
+BuildRequires: Qt5Svg-devel >= 5.3.1
+BuildRequires: Qt5WebKit-devel >= 5.3.1
+BuildRequires: Qt5Xml-devel >= 5.3.1
+BuildRequires: gdb
+BuildRequires: qt5-build >= 5.3.1
+BuildRequires: qt5-linguist
+BuildRequires: qt5-qmake >= 5.3.1
+BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.602
-BuildRequires: unzip
Requires(post,postun): desktop-file-utils
-%requires_eq QtCore
-Requires: QtSql-sqlite3
+%requires_eq Qt5Core
+Requires: Qt5Sql
Requires: hicolor-icon-theme
# for xdg-open
Suggests: xdg-utils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Qt Creator is a cross-platform integrated development environment (IDE)
-tailored to the needs of Qt developers.
+Qt Creator is a cross-platform integrated development environment
+(IDE) tailored to the needs of Qt developers.
%description -l pl.UTF-8
-Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow Qt.
+Qt Creator to wieloplatformowe IDE dostosowane do potrzeb developerow
+Qt.
%prep
-%setup -q -n %{name}-%{version}-src
+%setup -q -n %{name}-opensource-src-%{version}
%if "%{_lib}" == "lib64"
%patch0 -p1
%endif
+# fix unresolved symbols in libQtcSsh
+echo "LIBS += -ldl" > src/libs/ssh/ssh_dependencies.pri
+
%build
export QTDIR=%{_libdir}/qt4
# the qmakespec in qt4 is somewhat broken, need to look at this
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qtcreator
%attr(755,root,root) %{_bindir}/qtcreator_process_stub
-%attr(755,root,root) %{_bindir}/qmlprofiler
%attr(755,root,root) %{_bindir}/qtpromaker
+%attr(755,root,root) %{_bindir}/sdktool
%{_sysconfdir}/ld.so.conf.d/qtcreator.conf
%dir %{_libdir}/qtcreator
%attr(755,root,root) %{_libdir}/qtcreator/lib*.so.*.*
%attr(755,root,root) %{_libdir}/qtcreator/lib*.so
%attr(755,root,root) %ghost %{_libdir}/qtcreator/lib*.so.1
%dir %{_libdir}/qtcreator/plugins
-%dir %{_libdir}/qtcreator/plugins/Nokia
-%{_libdir}/qtcreator/plugins/Nokia/*.pluginspec
-%attr(755,root,root) %{_libdir}/qtcreator/plugins/Nokia/*.so
+%dir %{_libdir}/qtcreator/plugins/BlackBerry
+%dir %{_libdir}/qtcreator/plugins/QtProject
+%{_libdir}/qtcreator/plugins/BlackBerry/*.pluginspec
+%{_libdir}/qtcreator/plugins/QtProject/*.pluginspec
+%attr(755,root,root) %{_libdir}/qtcreator/plugins/BlackBerry/*.so
+%attr(755,root,root) %{_libdir}/qtcreator/plugins/QtProject/*.so
%{_libdir}/qtcreator/qtcomponents
%{_datadir}/qtcreator
%{_desktopdir}/qt-creator.desktop