I've installed Qt SDK 5.0.0 beta 2 and Qt Creator 2.6.0. It detects the package but gives a warning that "No qmlviewer installed". I've looked for it and it is in the SDK bin folder. What can I do? I use ubuntu 12.04 and I've added the SDK binaries to the PATH. I can view the QML files through the terminal.
It is not a solution but maybe it will be helpful.
I can see this warning too, but I think it is not a big problem. I have started to move my existing Quick1 code to new Qt version and I have not seen Qt5 Kit in the drop down list. But when I have created new Quick2 application I found it. And everything seems to work without QMLviewer.
Btw, I found forum post about Qt5 and qmlveiwer. Guy says that it was very difficult to support viewer in the actual state because API of declarative modules are changing very quickly. So they have dropped qmlviewer from Qt5.
Related
I have a project which is using Qt 4.7.4 version (also I can't rebuild it using qt4.8 or qt5 – there are a lot of errors appears, project is big and not mine so fixing issues would be even harder than erasing the whole code and write new code). So I need to make this project, well, working on NativeClient.
Is it even possible? I use Windows and Visual Studio, I was trying to google instructions about qt+nacl on Windows but just can’t find nothing.
Also which pepper version should I use if it depends on it?
Is your qt build supporting native client?
Please check out this
Windows
The Qt-Nacl is not support, for now, in Windows.
By the way, here is the github repository dedicated for it -> https://github.com/msorvig/qt5-qtbase-nacl
In the file nacl-readme it is written :
[...] Windows is not supported as a host platform.
Linux
If you want to compile in Linux, I have made a script that will compile Qt5.4 with NaCl with all the dependencies needed.
https://gist.github.com/theshadowx/438297ac465874a5e226
I also made a video that will show the different steps and a showCase at the end :
https://www.youtube.com/watch?v=q2pMv1Svtqw
I want to view Qt reference documentation inside QtAssistant, but the installation of Qt5 did not come with .qch documentation files for Qt libraries.
I have tried to find them on the http://qt-project.org but could not find them anywhere.
How do I get the Qt5 documentation files ?
I am using Ubuntu 12.10, I have installed the new qt-library sdk from the qt-project website.
Open Assistant (5.0.1/gcc/bin/assistant) and then go to Edit -> Preferences menu.
There's a Documentation tab. If the list is empty, add the .qch files found in the 5.0.1/gcc/doc/ directory.
This is how it looks. This is Ubuntu 12.10 as well.
Qt 5.0.1 installed with the qt-linux-opensource-5.0.1-x86-offline.run package (388Mb).
Yes, the official Ubuntu-documentation for Qt5 is very incomplete. You don't have information about nearly any class.
If you want to use the QtCreator/QtAssistant build from Ubuntu you have to acquire the docs yourself. I did and uploaded these on my personal Mega-account. Here are the docs. I installed the Qt framework with the installer from qt-project.org, grabbed the documentation and inserted it into the software-center-version.
I don't use QtAssistant as a stand-alone program but integrated in QtCreator. To add the docs to QtCreator go to Tools>Options>Help>Documentation and click add. Then select all .qch files, click apply and enjoy. Maybe try the way as mentioned above.
After all, you can just download the necessary *.deb file from the store of the Ubuntu packages, and install it on your system. As they wrote here, this package will install the *.qch files in /usr/share/qt5/doc. The pitfall is that you will have to remember that you have done that, since your Ubuntu will not take any records for you.
I haven't used Qt on Windows in a while. I know that now we're supposed to download the open source version from the Qt Project website.
But the page at http://qt-project.org/downloads has separate links to installers for Qt libraries and Qt Creator. I remember being able to just download the full SDK and get started, but now I have t separately install MinGW, the libraries and Qt Creator.
Can I still get the libraries and Qt Creator in a single bundle, and if yes, where should I look?
Digia distributes the SDK now. Not sure if it's still free. http://qt.digia.com/Product/Qt-SDK/
I just downloaded Qt SDK from http://download.cnet.com/Qt-SDK/3000-2069_4-75305206.html
It seems to be working, although windows says the installer is unsigned.
There is a installation guide plus full SDK (1.2.1), both LINUX/WINDOWS including supplemental files. No non-functional Windows-MinGW installation is required here.
I am a beginner to QML, just wanted to test the Hello WOrld program with it. It fails:
/home/saman# /home/saman/QtSDK/Simulator/Qt/gcc/bin/qmlviewer
Qml debugging is enabled. Only use this in a safe environment!
Cannot find any Simulator supporting Qt version 4.7.4.0.
Aborted
I need to know how to solve it.
It looks like you have not installed the Qt-SDK properly. Try to follow the installation instructions that came with the SDK or install it through your distributions package manager.
Try installing SDK (Qtcreator & Qt Kit) from https://download.qt.io/archive/qt/5.0/5.0.0/ (download required version depending on the platform you are working). This would inturn contain samples & demos which will work flawlessly.
All the best!
I have downloaded QT SDK LGLP (Creator + libraries) 4.6 and I am having problems compiling projects. After install I have added C:\Qt\2010.02\qt;C:\Qt\2010.02\qt\bin to PATH and added QTDIR env varaible containing C:\Qt\2010.02\qt, the I run "configure -platform win32-g++" to compile it. Everything went good.
I the tried to use QT Creator to create and compile a project.
The problem is everytime I try to compile I get the following error message:
No valid Qt version set. Set one in Tools/Options
Error while building project GUITest
When executing build step 'QMake'
Canceled build.
When I go to Tools/Options the manual version is set to v4.6.2, Location c:\qt\2010.02\qt\bin\qmake.exe. The auto detected version is set to even though I have added the dirs in Path. Is there something I am doing wrong here? Has anyone encountered this problem in Vista.
I have been working on this for 2 days, change configurations, reinstalled etc...
The QtDir value is compiled into the
qmake-binary. You can only change this
by recompiling qmake and passing on a
different value to qt-configure (I'm
not sure which setting or variable is
passed on to qmake) When using
precompiled, downloaded binaries,
you'll have to keep the QtDir at
c:\Qt\4.6.2
EDIT:
What I said was incorrect. The locations of qmake, moc,... are located in the file:
<Qt>/4.x.x/.qmake.cache
Try uninstalling/reinstalling qt creator
But i highly suspect you didnt compile qt properly as this problem seems really odd. I had alot of problems compiling so i know myself from the past mistakes.
Make sure you carefully reread install instructions for your environment, also if you have visual studio you need to follow procedure to install it in compliance with it. Same if you use another c compiler
If nothing goes right, the easiest way to install qt imo is directy from their git hub, chec installin qt from git, on their git site there is wiki that explains how to do it
its really easy and after that all you need to do is add the qt to creator
Hey, it QT emulators have lot of problems in vista, i have tried several times,it didnt work for me.. it works well with windows XP. though ill tell you in brief what you need to do
1)install latest perl
2)install carbide c++ editor
3)install Qt SDK
4)install s60 or N97 emulators
make sure that except perl all the items which are mentioned above will be in same drive,and also
make sure that folder names which you give while installation should not have spaces at all..
i.e suppose if you are going to place any of the above items in a folder whose name is having spaces it will not work.
if you have any doubts feel free to ask.