Results 1 to 2 of 2

Thread: Qt project developed in Windows not working properly in Unix

  1. #1
    Join Date
    Oct 2011
    Posts
    160
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt project developed in Windows not working properly in Unix

    I developed a Qt project in windows using Qt Creator 2.3.0
    Based on Qt 4.7.4 (32 bit).....
    I tried to buit the same project in Unix, which was using Qt 4.4.3... (i cant upgrade this..)
    I got error for the following lines...

    Qt Code:
    1. ui->tabWidget_unfiltered->setTabsClosable(true);
    To copy to clipboard, switch view to plain text mode 


    Qt Code:
    1. ui->lineEdit_directory->setText(path);
    To copy to clipboard, switch view to plain text mode 


    Qt Code:
    1. stringList.removeDuplicates();
    To copy to clipboard, switch view to plain text mode 



    when i removed those statements, it executed.....
    Now what should i need to do...inorder to get all those features in Unix..

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt project developed in Windows not working properly in Unix

    Assuming that lineEdit_directory is a QLineEdit and path is a QString then this line is absolutely correct.

    For the other two use a version of Qt that includes these features or code them yourself:


    You can, of course, build your own local copy of Qt 4.8 on the Linux box and deploy your application with the relevant libraries.

Similar Threads

  1. Replies: 1
    Last Post: 18th January 2012, 04:20
  2. Replies: 1
    Last Post: 7th December 2011, 00:49
  3. Replies: 2
    Last Post: 2nd August 2011, 15:05
  4. Replies: 1
    Last Post: 12th April 2011, 15:48
  5. memcpy not working properly
    By sattu in forum Qt Programming
    Replies: 3
    Last Post: 26th October 2010, 23:33

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.