The QtCreator resource editor has had a major change since the version 3.1. The new version shows resource files in project tree which i think is a good idea because most operations can now be done without opening the editor.
But it seems that something is missing here. The previous versions had an "Alias" field in the properties section for a resource file. I can not find such a thing in QtCreator 3.1.
Is this feature gone in the new versions and why?
Right click the .qrc file and select Open in Editor
When I open my resource file in the editor in version 3.1.0, the alias is still there: -
Related
I am trying to create a project assosiated with the SimConnect SDK.
I am new to QT, and in Visual Studio, I just had a SimConnect.h file, a .lib file, and a .dll file, and I managed to make it work. Now I am trying to create a C++ widget project, using the same SDK, but in QT.
I put the header file in my QT project's folder, where the other default code and header files are located, and then I went to the project and added them as existing files, as I read in Google. I'm having problems with the actual library.
I've been searching Google for a guide on how to add a library file to the project, I did some things I saw on the internet, like the LIBS line for example, but I probably did it wrong, even though it looked very simple.
I am not sure where to drop my dll/library files in the project directory, maybe the problem is I always put them in the wrong spot.
The furthest I got to, was an error message saying "Unresolved external symbol", and a red writing saying ".obj file not found" on every function I tried to use from the SimConnect functions, which probably means QT couldn't find my library/dll file.
I also tried to add the libraries from the "Add library" option in the project, but that didn't work too.
EDIT: it also warns "warning: LNK4272: library machine type 'X86' conflicts with target machine type 'x64'" maybe it has to do something with it.
(Posted on behalf of the OP).
Solved! My problem was my machine was set to 64bit, while the library was set to 32bit, so I downloaded the 32bit kit, and ran the project through that, and it worked!
I have a project and added a library to it and none of the classes in the library are showing in auto complete / code hinting in MXML. I searched online and read that increasing the memory might help, allowing the type caching to be larger, but I can't find the eclipse.ini or flashbuilder.ini file that they all talk about. I'm using Mac OSX 10.8.
Also, if there is a way to force eclipse to recreate the type cache (classes list) I would rather try that first than mess with the ini file.
I had to select the FlashBuilder icon and choose "Expand or Show package contents" and then it showed more folders. In those folders was the FlashBuilder.ini.
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.
this might seem like a dumb question but I just don't get this to work with Aptana 3.
I installed the Aptana 3 plugins and Scala IDE into classic Eclipse 3.7.
Now in my HTML files there are links to resource files like CSS, JS, etc. I would like to be able to CTRL+click on such a link to open the file in another editor tab.
I just verified that Aptana 2 supports this without additional configuration.
Is this possible with version 3. If yes, what do I have to do in order to make it work?
Thanks.
Ok you can tear me apart ;)
ctrl+shift+R then type resource file name
I have gotten the latest QWT 5.1.2 for QT 4.5 and managed to get it to complie. I am now trying to get the plugin to work in QT Designer (with VS intergration). I have placed the plugin files into the plugin/designer folder, but when attempting to load, I hit this error
Cannot load library qwt_desginer_plugin5.dll: The specified module cannot be found.
I've done some search on this issue, one page which suggest moving the plugin to the VS intergration folder - which does not exist for Program Files\Nokia\Vs4Addin.
My QT Designer is a debug-and-relase build. (That is, if I use a debug build of the plugin it would complain that it is expecting a release).
qwt_designer_plugin5.dll depends on qwt5.dll, so:
Additionally to placing "qwt_desginer_plugin5.dll" in "plugins\designer" directory, you must put qwt5.dll to some place where windows loader can find it (at example, you can put it in "%QTDIR%\bin" directory)
It appears that I have to place the generated dll into the qt\bin folder for the designer to load the plugin
You may place it everywhere in the PATH. Also the same dir as the executable program works.
You can see how dll libraries are loaded.