title: undefined reference to `i2c_smbus_read_word_data(int, unsigned char)
body: <p>After updating to Ubuntu 18.04 I can't compile my Qt application.</p>
  
  <p>The following error occurs:</p>
  
  <pre><code>undefined reference to `i2c_smbus_read_word_data(int, unsigned char)
  </code></pre>
  
  <p>As I understood, i2c_smbus_read_word_data is now defined not in linux/i2c-dev.h, but in dynamic library /usr/lib/x86_64-linux-gnu/libi2c.so.</p>
  
  <p>I tryed to link dynamically:</p>
  
  <pre><code>-li2c
  </code></pre>
  
  <p>and statically:</p>
  
  <pre><code>/usr/lib/x86_64-linux-gnu/libi2c.a
  </code></pre>
  
  <p>But I still have compillation error</p>
  
  <p>UPD:
  libi2c-dev, libi2c0 and i2c-tools packages are installed.</p>