Installation and getting started with first app
-
wrote on 1 Apr 2011, 07:49 last edited by
put the needed dlls beside your exe or set the PATH environment variable to contain the path to mingw10.dll.
-
wrote on 1 Apr 2011, 08:53 last edited by
I have set the PATH environment variable..but it says QtCode4.dll is missing !!
-
wrote on 1 Apr 2011, 08:58 last edited by
QtCode4? what's this? or do you mean QtCore4.dll?
Then the path to this dll is miossinmg :-)
You have to add it also. -
wrote on 1 Apr 2011, 09:00 last edited by
sorry..that was typo..QtCore4.dll is correct..but where will this DLL reside ?
-
wrote on 1 Apr 2011, 09:05 last edited by
you find it inside your Qt installation
depends which version you installed
In Qt SDK with Qt 4.7.2, look here:<QtSDK Dir>\Desktop\Qt\4.7.2\mingw\bin
-
wrote on 1 Apr 2011, 09:27 last edited by
excellent Gerolf..it is working now..but my icons on buttons and Toolbar are missing in standalone application..
-
wrote on 1 Apr 2011, 09:29 last edited by
How did you add them?
using from the file system or add them to a qrc file? -
wrote on 1 Apr 2011, 09:58 last edited by
[quote author="Thomas Kennedy" date="1301650049"]excellent Gerolf..it is working now..but my icons on buttons and Toolbar are missing in standalone application..[/quote]
Could be some missing image format plugins. Please look in the forum search for "imageformats plugins", it was discussed recently with some hints about how to resolve this issue.
-
wrote on 5 Apr 2011, 11:37 last edited by
yep...now I understood how to create .qrc file..many thanks..
-
wrote on 5 Apr 2011, 11:45 last edited by
i have 7 strings with me..I would like to show them in a text editor line by line...how would i do that ??
-
wrote on 6 Apr 2011, 07:33 last edited by
I have used Insert() method to do that..thanks for no reply :-)
-
wrote on 6 Apr 2011, 08:33 last edited by
now I am showing all my available drives in my Tree widget and upon selection am able to display the total/free size of the drive. Now I want to implement two things..
1.load icons depending upon the drive type in my tree widget
2.if it is CD-ROM drive disable the user sectioncould somebody guide me on this !!!
-
wrote on 6 Apr 2011, 08:45 last edited by
Again (mentioned this before, I believe), take a look at QFileSystemModel. It does this for you already. If you don't use it yourself, then you might study its source code to find out where it gets the images from. Or, look into QFileIconProvider.
If you are using QSystemStorageInfo as your data source, then you also know which drives are a CDRom drives. Set the correct flags for those drives, and presto.
68/71