LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   displaying image files using QT or a slideshow (https://www.linuxquestions.org/questions/linux-newbie-8/displaying-image-files-using-qt-or-a-slideshow-695274/)

mist99 01-06-2009 03:08 AM

displaying image files using QT or a slideshow
 
hi
i am doin a project in QT (3.0) designer toolkit. Can any one tell me how to make a slideshow of images using QT.......

plzzzzzzz
thanks
---mist----

pixellany 01-06-2009 07:02 AM

Welcome to LQ!!

Please tell us a bit more about the project. eg: Where will the program find the images? Will there be user interaction to stop, restart, rewind, fast forward, etc.?

Does the "designer toolkit" go beyond the basic capabilities of QT?

mist99 01-07-2009 01:05 AM

image slideshow using QT
 
I wanna write a code in c++ (in QT)for making a slideshow of images. It should be like MS powerpoint without any controls like rewind, fastforwd, stop and play !!!
It should read image files by taking the target of the file from the user and display them as a slideshow.


---mist---

pixellany 01-07-2009 07:38 AM

You can do simple slide shows using an image manager such as Digikam. And I ma pretty sure that OpenOffice Impress also does slide shows.

What is the reason for writing the program? eg what features do you need that don't already exist other programs?

Are you proficient in C++ and QT?

Finally, to get better help, post some of the work you have done so far.

mist99 01-07-2009 11:36 PM

Thats the whole point where i am facing a problem !!!

I am not supposed to use any pre-existing softwares but I need to code them .!!!
Ya I am proficient in c++ and trying to explore QT !!
so need help for that...

Are there any header files or existing in built functions in c++ for displaying images !!


--mist--

pixellany 01-08-2009 03:49 AM

Homework, as I suspected.....

I think the answer will be found in the QT documentation. C++ only provides the basic language environment. QT (or GTK) is what gives you the specific graphical tools, the interface into X, etc.

Here is the last help that I personally can offer:
http://www.google.com/search?q=qt+di...L_enUS177US235

This was found by entering "qt display images" in Google.

Good luck

mist99 01-28-2009 11:54 PM

problem in debugging a QT program
 
I tried doing a basic program in Qt 3.1.1
But when i am trying to compile it using qmake option, i am getting errors...



pr1.pro
--------pr1.cpp

#include<qapplication.h>
#include<qpushbutton.h>

int main(int argc,char** argv)

{
QApplication a(argc,argv);
QPushButton hello("hi",0);
a.setMainWidget(&hello);
hello.show();
return a.exec();
}


in the termainal window...
$qmake -project pr1.pro
<no errors>
$qmake -makefile pr1.cpp
<loads of errors>

wher am i goin wrong ???????


---mist----


All times are GMT -5. The time now is 08:01 PM.