Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt project developed in Windows not working properly in Unix
Forum Updated to NodeBB v4.3 + New Features

Qt project developed in Windows not working properly in Unix

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aurora
    wrote on last edited by
    #1

    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...

    @
    ui->tabWidget_unfiltered->setTabsClosable(true);
    @

    @ui->lineEdit_directory->setText(path);@

    @stringList.removeDuplicates();@

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

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fluca1978
      wrote on last edited by
      #2

      Well, as the "documentation":http://developer.qt.nokia.com/doc/qt-4.8/qtabwidget.html#tabsClosable-prop reports for instance in the case of the first line of code, the method setTabsClosable has been introduced since Qt 4.5. You are developing with very different versions of Qt, so the only thing you have to do is either upgrade the Linux library or downgrade the Windows one and develop with the same version.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved