Results 1 to 9 of 9

Thread: Create images slideshow in c++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2019
    Posts
    5
    Qt products
    Qt5

    Default Re: Create images slideshow in c++

    Can anyone tell how to access stringlist where I save all path of my images.
    Qt Code:
    1. QPixmap slide = QPixmap(d->imagePaths[d->currentSlide]);
    2. }
    To copy to clipboard, switch view to plain text mode 
    In this code this line will create problem and give sigabrt signal. Can you please tell how to access element in list?
    Last edited by Rd1912; 20th September 2019 at 07:28.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,324
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Create images slideshow in c++

    If you want help, you are going to have to show more than one line of code. Show the code that gives the definitions (data types) for "d", "imagePaths", and "currentSlide" and show how you are loading these variables with values. In other words, copy enough of your actual code that we could study it and try to find your error.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Sep 2019
    Posts
    5
    Qt products
    Qt5

    Default Re: Create images slideshow in c++

    i able to detect error that lead crash.it is because i (for list) not getting valid value. now it works fine.

Similar Threads

  1. How To Create Simple Images Slider?
    By Ade Malsasa Akbar in forum Newbie
    Replies: 5
    Last Post: 1st June 2013, 08:42
  2. Replies: 1
    Last Post: 6th December 2012, 20:32
  3. Avoid flicker during slideshow with QPropertyAnimation
    By RazZziel in forum Qt Programming
    Replies: 4
    Last Post: 6th March 2012, 17:18
  4. How to apply the turnover effect to the image slideshow
    By Sirisha in forum Qt Programming
    Replies: 2
    Last Post: 22nd November 2011, 07:16
  5. Replies: 1
    Last Post: 20th January 2011, 10:26

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.