LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2009, 03:08 AM   #1
mist99
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
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----
 
Old 01-06-2009, 07:02 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 01-07-2009, 01:05 AM   #3
mist99
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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---
 
Old 01-07-2009, 07:38 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 01-07-2009, 11:36 PM   #5
mist99
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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--
 
Old 01-08-2009, 03:49 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 01-28-2009, 11:54 PM   #7
mist99
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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----
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Page Problem Displaying Image metallica1973 Linux - Software 1 10-06-2008 08:42 PM
Qt widget suitable for displaying an image and getting mouse click position greenmuzz Programming 1 10-03-2008 05:08 AM
Help with displaying an image in PHP pandersson61 Programming 3 07-31-2008 09:40 PM
Screensaver - Image Slideshow atheist Linux - Software 3 04-20-2008 03:17 PM
Displaying web images as background image on desktop Jarkandu Fedora 1 01-18-2007 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration