Results 1 to 11 of 11

Thread: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2014
    Posts
    24
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

    I have posted on the Ubuntu debian forum and on other sites also.

    FYI now I am able to make deb file with QT 5.4 by adding PrintSupport, OpenGL Qt5 module in cmake list file and added the needed .so files form the path Qt5.4.0/Tools/QtCreator/lib/qtcreator/ to /usr/lib directory and installed the deb into my machine.

    But app executable unable to start and not giving any error ( I think it crashes) but when I replace the same executable with exexubale which I made from Qt creator then it is working.

    What I think is that Qt creator build taking reference of the QT5.4 installation and deb build taking the reference from the my machine's installed .so files. that Is why I am getting this issue.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

    I think you should put a dependency on Qt5.4 packages into your deb package. Otherwise after the package is installed, proper Qt version would not be found.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2014
    Posts
    24
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

    Ok, I will try and let you know if found anything useful.

  4. #4
    Join Date
    Jun 2014
    Posts
    24
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

    Quote Originally Posted by wysota View Post
    I think you should put a dependency on Qt5.4 packages into your deb package. Otherwise after the package is installed, proper Qt version would not be found.
    It would be great for me if you suuggest, how to add depedencies on Qt5.4 package with my deb. I think, I have issues with the libQt5Quick.so.5 libQtOpenGL.so.5 libQt5PrintSupport.so.5 files but I am not sure.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Unable to make deb file of Qt 5.4 app in Ubuntu 14.04

    I know nothing about building deb packages, so I can't really help you. I can only assume you should make your package depend on libqt5*-5.4
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 1
    Last Post: 23rd December 2014, 11:01
  2. Replies: 1
    Last Post: 12th March 2014, 12:44
  3. Replies: 2
    Last Post: 17th July 2013, 09:26
  4. unable to make static builds on windows
    By mchome in forum Newbie
    Replies: 13
    Last Post: 16th July 2012, 19:42
  5. qmake doesn't make a 'make' file
    By elyness in forum Installation and Deployment
    Replies: 1
    Last Post: 4th August 2010, 15:21

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.